package test;
import java.text.DecimalFormat;
import java.util.Scanner;
public class Test {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
String s = sc.nextLine();
String[] strings = s.split(" ");
int sum = 0;
for (int i = 0; i < strings.length; i++) {
sum += Integer.valueOf(strings[i]);
}
DecimalFormat df = new DecimalFormat("#.0");
System.out.println("Sum = " + sum + ";Average = " + (df.format((sum * 1.0) / strings.length)));
}
}