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