#include <stdio.h>
main()
{
float x,y;
float a=0.98,b=0.9,c=0.78;
scanf("%f",&x);
if(x>200)
{
y=x*a;
}
if(x>500)
{
y=x*b;
}
if(x>3000)
{
y=x*c;
}
printf("%f\n",y);
return 0;
}
#include <stdio.h>
main()
{
float x,y;
float a=0.98,b=0.9,c=0.78;
scanf("%f",&x);
if(x>200)
{
y=x*a;
}
if(x>500)
{
y=x*b;
}
if(x>3000)
{
y=x*c;
}
printf("%f\n",y);
return 0;
}