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

int main(){
  int i = 0;
  char str[129], str2[129];
  
  fgets(str, 128, stdin);
  
  do{
    if(str[i] == '.'){
      str2[i] = str[i] - 0;
      str2[i + 1] = '\0';
      break;
    }
    
    if(str[i] != ' '){
      str2[i] = str[i] - 'a' + 65;
    }else{
      str2[i] = ' ';
    }
    i++;
  }while(1);

  
  cout << str2 << endl;

  return 0;
}