print(''.join(s[0].upper() for s in input().split()))