#include int main(){ char c; while(1){ scanf("%c",&c); if(c==10)break; if(c>96){ c-=32; }else c+=32; printf("%c",c); } return 0; }