# UVa 12577 - Hajj-e-Akbar caseNumber = 0 line = input() while line[0] != '*' : caseNumber += 1 solution = "Hajj-e-Akbar" if line[0] == 'H' else "Hajj-e-Asghar" print(f'Case {caseNumber}: {solution}' ) line = input()
No comments:
Post a Comment