import java.util.Scanner;
public class Practice {
public static void main(String[] args) {
int nextValue;
int sum = 0;
Scanner kbInput = new Scanner(System.in);
kbInput.useDelimiter("\s");
while (kbInput.hasNextInt()) {
nextValue = kbInput.nextInt();
sum += nextValue;
}
System.out.println("Sum:" + sum);
}
}