#-*coding:utf-8-*
s=input("请输入一列整数(0-100),用英文逗号分隔:")
nums=s.split(",")
numdict={'0':'零','1':'一','2':'二','3':'三',
'4':'四','5':'五','6':'六','7':'七','8':'八','9':'九'}
def getnumchinese(num):
num=num.strip()
if len(num)==1:
return numdict[num]
elif len(num)==2:
result=numdict[num[0]]+'十'
if num[1]!='0':result+=numdict[num[1]]
return result
elif num=='100':
return '一百'
else:
raise ValueError("你输入的数字不正确")
chinesenum=[]
for num in nums:
chinesenum.append(getnumchinese(num))
print(' , '.join(chinesenum))