#include<iostream>
#include<string>
#include<cstdio>
#include<algorithm>
#include<stack>
#include<queue>
#include<vector>
#include<cmath>
#include<cctype>

#define ll long long int

using namespace std;
typedef pair<int, int> P;

string str;

int main()
{
  int i=0,j;
  while(1){
    cin>>str;
    for(j=0;j<str.size();j++)
      str[j]=toupper(str[j]);
    cout<<str;
    if(str[str.size()-1]=='.')
      break;
    else
      cout<<" ";
  }
  cout<<endl;
}