import java.util.Scanner; public class Main{ public static void main(String[] args){ Scanner sc = new Scanner(System.in); String str = sc.nextLine(); String[] strs = str.split(" "); StringBuilder sb = new StringBuilder(); for(int i=0; i<strs.length; i++){ sb.append(strs[i].charAt(0)+""); } System.out.println(sb.toString().toUpperCase()); } }