#include using namespace std; int main(void){ int A,B,C; char t; cin >> A >> t >> B >> t >> C; A=A+B+C; cout << "合計点:" << A << endl; cout << "平均点:" << fixed << setprecision(1) << (double)A/3.0 << endl; }