s=input() for i in range(26): s=s.replace(chr(ord("a")+i),"0").replace(chr(ord("A")+i),"0") print(sum(list(map(int,s))))