#include #include #include #include #include #include #include using namespace std; int main() { string s, t; cin >> s; for (int i = 0; i < static_cast(s.size()); i++) { if (islower(s[i]))t += toupper(s[i]); else t += tolower(s[i]); } cout << t << endl; return 0; }