#include<stdio.h>
int main(void)
{
double num;
scanf("%lf",&num);
double ans,x;
if(num<=400.0)
x=0.15;
else if(num<=800.0)
x=0.12;
else if(num<=1200.0)
x=0.10;
else if(num<=2000.0)
x=0.07;
else
x=0.04;
ans=num*x;
printf("Novo salario: %.2f\nReajuste ganho: %.2f\nEm percentual: %.f %%",ans+num,ans,x*100.0);
return 0;
}