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