a,b,c = input().split() ans = a[0] + b[0] + c[0] print (ans.upper())