Files
2023-08-03 09:22:52 +08:00

18 lines
223 B
C++

#include<iostream>
#include<cmath>
using namespace std;
int main()
{
int b,g;
while(true)
{
cin>>b>>g;
if((b+g)<10) cout<<"water"<<endl;
else{
if(b>g) cout<<"tree"<<endl;
else cout<<"tea"<<endl;
}
}
}