#include #include using namespace std; using namespace atcoder; using ll=long long; using ld=long double; using vll=vector; using pll=pair; using mint=modint; int main() { ios::sync_with_stdio(false); cin.tie(nullptr); string S; cin>>S; for(auto& s:S){ if('a'<=s&&s<='z')s=s-'a'+'A'; else s=s-'A'+'a'; } cout<