#include<iostream>
#include<cstdlib>
#include<cstdio>
using namespace std;
int main(){
  char str;
  while(1){
    str=getchar();
    if(str=='.'){
      cout<<str;
      break;
    }
    if(str==' '){
      cout<<" ";
    }else if(str>='a'&&str<='z'){
      str=str-32;
      cout<<str;
    }
  }
  cout<<endl;
  return 0;
}