#include<bits/stdc++.h> using namespace std; int main(){ int n; cin>>n; if(n>=10000&&n<100000) cout<<"wan"; else if(n>=100000&&n<1000000) cout<<"shi wan"; else if(n>=1000000&&n<10000000) cout<<"bai wan"; else if(n>=10000000&&n<100000000) cout<<"qian wan"; else if(n>=100000000&&n<1000000000)cout<<"yi"; else if(n>=1000000000) cout<<"shi yi"; } /************************************************************** Problem: 1322 User: fandaohan Language: C++ Result: Accepted Time:19 ms Memory:2072 kb ****************************************************************/