#include<iostream>
#include<cstdio>
using namespace std;
int main()
{
double salin,salout,money,percent,val,multi;
scanf("%lf",&salin);
if(salin>=0 || salin<=400)
val=0.15;
if(salin>=400.01 || salin<=800.00)
val=0.12;
if(salin>=800.01 || salin<=1200.00)
val=0.1;
if(salin>=1200.01 || salin<=2000.00)
val=0.07;
if(salin>=2000.00)
val=0.04;
money=salin*val;
salout=salin+money;
percent=val*100;
printf("Novo salario: %.2lf\n",salout);
printf("Reajuste ganho: %.2lf\n",money);
printf("Em percentual: %.lf %%\r\n",percent);
return 0;
}
I2luY2x1ZGU8aW9zdHJlYW0+CiNpbmNsdWRlPGNzdGRpbz4KdXNpbmcgbmFtZXNwYWNlIHN0ZDsKCmludCBtYWluKCkKewogICAgZG91YmxlIHNhbGluLHNhbG91dCxtb25leSxwZXJjZW50LHZhbCxtdWx0aTsKCiAgICBzY2FuZigiJWxmIiwmc2FsaW4pOwoKICAgIGlmKHNhbGluPj0wIHx8IHNhbGluPD00MDApCiAgICAgICAgdmFsPTAuMTU7CiAgICBpZihzYWxpbj49NDAwLjAxIHx8IHNhbGluPD04MDAuMDApCiAgICAgICAgdmFsPTAuMTI7CiAgICBpZihzYWxpbj49ODAwLjAxIHx8IHNhbGluPD0xMjAwLjAwKQogICAgICAgIHZhbD0wLjE7CiAgICBpZihzYWxpbj49MTIwMC4wMSB8fCBzYWxpbjw9MjAwMC4wMCkKICAgICAgICB2YWw9MC4wNzsKICAgIGlmKHNhbGluPj0yMDAwLjAwKQogICAgICAgIHZhbD0wLjA0OwoKICAgICAgICBtb25leT1zYWxpbip2YWw7CiAgICAgICAgc2Fsb3V0PXNhbGluK21vbmV5OwogICAgICAgIHBlcmNlbnQ9dmFsKjEwMDsKCiAgICBwcmludGYoIk5vdm8gc2FsYXJpbzogJS4ybGZcbiIsc2Fsb3V0KTsKICAgIHByaW50ZigiUmVhanVzdGUgZ2FuaG86ICUuMmxmXG4iLG1vbmV5KTsKICAgIHByaW50ZigiRW0gcGVyY2VudHVhbDogJS5sZiAlJVxyXG4iLHBlcmNlbnQpOwoKCiAgcmV0dXJuIDA7Cn0K