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