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