function main(input) {
  input = input.trim();
  const a = input.split(" ");
  const ans =a[0].substring(0,1)+a[1].substring(0,1)+a[2].substring(0,1);
  
  console.log(ans.toUpperCase());
}
main(require('fs').readFileSync('/dev/stdin', 'utf8'));