#includeint main(){int N,i;scanf("%d",&N);double h;char S;for(i=1;i<=N;i++){ getchar(); //这个getchar,如果没有的话只循环一次就结束了scanf("%c%lf",&S,&h);if(S=='M')printf("%.2lf\n",h/1.09);elseprintf("%.2lf\n",h*1.09);