function Main(input){
  var inputs = input.split(" ");
  var one = inputs[0].split(""), two = inputs[1].split(""),three = inputs[2].split("");
  var answer = one[0].toUpperCase() + two[0].toUpperCase() + three[0].toUpperCase();
  console.log(answer);
}
Main(require('fs').readFileSync('/dev/stdin','utf8'));