#include using namespace std; int main() { string S;cin>>S; for(int i=0;i25)S[i]-=32; else S[i]+=32; } cout<