print(*[s[0].upper()for s in input().split()],sep='')