"use strict";
const main = (input) => {
  const [a, b, c] = input.trim().split(" ");
  const A = a.slice(0, 1).toUpperCase();
  const B = b.slice(0, 1).toUpperCase();
  const C = c.slice(0, 1).toUpperCase();
  return A + B + C;
};
console.log(main(require("fs").readFileSync("/dev/stdin", "utf8")));
