#include <bits/stdc++.h>
using namespace std;
int main(){
int k=3;
double a,b,c;
double ans=1;
char ch;
while(k--){
cin>>a>>b>>c;
double aa=max(a,max(b,c));
if(aa==a){
cout<<"W ";
}else if(aa==b){
cout<<"T ";
}else if(aa==c){
cout<<"L ";
}
ans*=aa;
}
ans=(ans*0.65-1)*2;
printf("%.2f",ans);
return 0;
}
float
精度不高,一般使用double
好,知道了,谢谢啦