# A
print(r'"There is a will,\//\// there is a way!"')
# B
c = input()
while c != '':
t = int(c)
if 0 <= t and t < 12:
print('GOOD MORNING!')
elif 12 <= t and t < 18:
print('GOOD AFTERNOON!')
elif 18 <= t and t <= 23:
print('GOOD EVENING!')
c = input()
# C
l = ['零', '壹', '贰', '叁', '肆', '伍', '陆', '柒', '捌', '玖', '拾']
N = input()
result = '人民币:'
ten = int(N[0]) # 十位
div = int(N[1]) # 个位
result += l[ten] + '拾'
if div != 0:
result += l[div]
result += '元整'
print(result)