function Main(input) {
	input = input.trim().split(" ");
  var list1 = input[0].slice(0,1);
  var list2 = input[1].slice(0,1);
  var list3 = input[2].slice(0,1);
  console.log((list1 + list2 + list3).toUpperCase());
  
}

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