# include<iostream> using namespace std; int main(){ char a; cin>>a; if(a>='A' &&a<='Z') cout<<char(a+32); else cout<<char(a-32); return 0; }