12303 - 分配任务

#include<bits/stdc++.h>
using namespace std;
int main(){
  	int m,f;
  	cin>>m>>f;
  	if(m+f<10) cout<<"water";
  	else{
    	if(m>f) cout<<"tree";
      	else cout<<"tea";
    }
	return 0;
}