x = abs(int(input()))
print(x%10+(x//10)%10+x//100)
Copyright © 2024 SCHOLAR.TIPS - All rights reserved.
Answers & Comments
x = abs(int(input()))
print(x%10+(x//10)%10+x//100)