"use strict";
const Main = (input) =>{
	let xs = input.trim().split(' '); 
    let a = xs[0].charAt(0).toUpperCase();
    let b = xs[1].charAt(0).toUpperCase();
    let c = xs[2].charAt(0).toUpperCase();
    console.log(a+b+c);        
}
Main(require('fs').readFileSync('/dev/stdin','utf8'));