'use strict'

function main(input) {

  input = input.split(' ')

  const A = input[0][0].toUpperCase()
  const B = input[1][0].toUpperCase()
  const C = input[2][0].toUpperCase()
  const ans = A+B+C
  
  console.log(ans)
}
main(require("fs").readFileSync("/dev/stdin", "utf8"));