public class Main{ public static void main(String[] args){ String[] line = new java.util.Scanner(System.in).next().split(""); int sum = 0; for(int i=0;i