Run ID:115417

提交时间:2025-03-30 13:43:09

a = int(input()) res =0 while True: res = res + a%10 a = a//10 if a==0: break print(res)