print(' '.join(['ling','yi','er','san','si','wu','liu','qi','ba','jiu'][int(i)] for i in str(sum(map(int,input())))))
n = input() sum = 0 result = '' for i in n: sum += int(i) for i in str(sum): i = int(i) if i == 0: result += 'ling ' elif i == 1: result += 'yi ' elif i == 2: result += 'er ' elif i == 3: result += 'san ' elif i == 4: result += 'si ' elif i == 5: result += 'wu ' elif i == 6: result += 'liu ' elif i == 7: result += 'qi ' elif i == 8: result += 'ba ' elif i == 9: result += 'jiu ' print(result.rstrip())