Run ID:115423

提交时间:2025-03-30 13:46:15

a=int(input()) r=0 while a>0: r=r+a%10 a=a//10 print(r)