#include <iostream>
#include <cstdio>
#include <algorithm>
using namespace std;
int main()
{
double a= 0,b = 0;
string tmp;
tmp.resize(100);
scanf("%s", tmp.c_str());
scanf("%lf%lf", &a, &b);
printf("TOTAL = R$ %.2lf", a + 0.15 * b);
return 0;
}