using namespace std;
int main() { char c[10]; double a,b;
cin >>c >> a >> b; printf("TOTAL = R$ %.2lf",a+b*0.15); return 0;
}