#!/usr/bin/python

def digit_sum(n):
	x = str(n)
	total = 0
	for i in x:
		total += int(i)
	print total


digit_sum(434)

60553a5b3c4a2e316af233ec0514350991d72562
#!/usr/bin/python

def digit_sum(n):
	x = str(n)
	total = 0
	for i in x:
		total += int(i)
	print total


digit_sum(434)
