#include <stdio.h> int main() { char buf[100]={'\0'}; scanf("%s",&buf[0]); int i; for(i=0;i<100;i++) { if((buf[i]>=65) && (buf[i]<=90)) { buf[i]+=32;continue;} if((buf[i]>=97) && (buf[i]<=122)) { buf[i]-=32;continue;} } printf("%s\n",&buf[0]); return 0; }