import java.util.*; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); String S = sc.next(); String[] strings = S.split(","); int j = Integer.parseInt(strings[0]); int m = Integer.parseInt(strings[1]); int b = Integer.parseInt(strings[2]); System.out.printf("合計点:%d\n", j+m+b); double average = (double)(j + m + b) / 3; ; System.out.printf("平均点:%s",String.format("%.1f",average)); } }