#include<iostream> #include<cstdio> using namespace std; int main(){ char x; cin>>x; if(x<=90){ x=x+32; }else{ x=x-32; } cout<<x; return 0; }