n = str(input())
pingyin_list = ['ling', 'yi', 'er', 'san', 'si', 'wu', 'liu', 'qi', 'ba', 'jiu']
sum_number = 0
for i in n:
sum_number+=int(i)
sum_number_len = len(str(sum_number))
for k in range(sum_number_len):
if k == sum_number_len-1:
print(pingyin_list[int(str(sum_number)[k])], end='')
else:
print(pingyin_list[int(str(sum_number)[k])], end=' ')