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