function Main(input){
  input = input.split(' ');
  var a = input[0];
  var b = input[1];
  var c = input[2];

  var result = [];

  function upper(x) {
      var upper_x = x.toUpperCase();
      upper_x = upper_x.split('');
      return upper_x;
  }

  result.push(upper(a).shift());
  result.push(upper(b).shift());
  result.push(upper(c).shift());
  console.log(result.join(''));

}
Main(require("fs").readFileSync("/dev/stdin", "utf8"));