#include using namespace std; using ll = long long; #define rep(i, n) for (int i = 0; i < (int)(n); i++) int main() { int a,b,c; scanf("%d,%d,%d", &a, &b, &c); int sum = a+b+c; float ave = (float)sum / 3; cout << "合計点:" << sum << endl; cout << "平均点:" << fixed << setprecision(1) << ave << endl; return 0; }