import sys z_dic = {'0':'零', '1':'壹','2':'贰','3':'叁','4':'肆','5':'伍','6':'陆','7':'柒','8':'捌','9':'玖','10':'拾' ,'100':'佰','1000':'仟','10000':'万','100000000':'亿'} def get_z(a_s): re = '' a_s = a_s.rjust(4, '0') if a_s[0] == '0': re += z_dic[a_s[0]] else: re += ...