#include using namespace std; int main() { string s;cin>>s; for(int i=0;i='A'&&s[i]<='Z')s[i]+='a'-'A'; else s[i]-='a'-'A'; } cout<