#include<iostream> int main(){ float b,c,d,e,f,g; scanf("%f",&b); if(b<=10){ c=2.5*b; printf("%.1f",c); }else{ c=b-10; d=10*2.5; e=1.5+2.5; f=c*e; g=d+f; printf("%.1f",g); } return 0; }