#include using namespace std; #define REP(i,N) for(i=0;i P; typedef struct{ int first; int second; int third; }T; //昇順 bool comp_Se(T& l, T& r){ return l.second < r.second; } char change(char c){ if(c-'a' >= 0) return c - 32; else return c + 32; } int main(void){ string S; int i; cin >> S; REP(i,S.length()) cout << change(S[i]); cout << endl; return 0; }