function Main(input) {
  const words = input.split(' ');
  console.log(`
  ${words[0].slice(0, 1).toUpperCase()
  + words[1].slice(0, 1).toUpperCase()
  + words[2].slice(0, 1).toUpperCase()}`)
}

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