#include using namespace std; using ll=long long; #define rep2(i, a, n) for(int i = (a); i < (n); i++) #define rep(i, n) rep2(i,0,n) int main(){ cin.tie(nullptr);ios_base::sync_with_stdio(false); int w=0,e=0; string s;cin>>s; rep(i,s.size()){ if(s[i]=='O'){ w=0; e++; }else{ e=0; w++; } if(w==3){ cout<<"West"<