while True: try: a = input() except: break print('' + a.capitalize() + ' ')