#include <iostream>
#include <cstdio>
#include <cstring>
using namespace std;

int main(){
  int i = 0;
  char str[129], str2[129];
  
  fgets(str, 128, stdin);

  while(1){
    if('A' <= str[i] && str[i] <= 'Z'){
      str2[i] = str[i] - 0;
    }else if(str[i] == '.'){
      str2[i] = '.';
    }else if(str[i] == ' '){
      str2[i] = ' ';
    }else if(str[i] == '\n'){
      str2[i] = '\0';
      break;
    }else{
      str2[i] = str[i] - 'a' + 65;
    }

    i++;
  }
  
  cout << str2 << endl;

  return 0;
}