/*
*/
#include <iostream>
#include <algorithm>
#include <cstdio>
#include <cstring>
using namespace std;
int main()
{
char name[10];
double basic, amount;
scanf("%s%lf%lf", name, &basic, &amount);
printf("TOTAL = R$ %0.2lf\n", basic + 0.15 * amount);
return 0;
}