#include <bits/stdc++.h>
#include <stdint.h>

typedef uint32_t u32;
typedef uint64_t u64;

int main() {

  std::string str;
  std::getline(std::cin, str);
  for(u32 i = 0; i < str.size(); ++i) {
    if( 'a' <= str[i] and str[i] <= 'z' ) {
      str[i] ^= 0x20;
    }
  }

  std::cout << str << std::endl;
  
  return 0;
}