#include<bits/stdc++.h> using namespace std; char a; int main(){ cin>>a; if(a>='A'&&a<='Z') cout<<"upper"; else if(a>='a'&&a<='z') cout<<"lower"; else if(a>='0'&&a<='9') cout<<"digit"; else cout<<"other"; return 0; }
By signing up a 大沥中心 universal account, you can submit code and join discussions in all online judging services provided by us.
Using your 大沥中心 universal account