#include using namespace std; #define repeat(i,n) for (int i = 0; (i) < (n); ++ (i)) int main() { string s; cin >> s; string ns; for (char c : s) { ns += islower(c) ? toupper(c) : tolower(c); } cout << ns << endl; }