#include using namespace std; int main() { // 入力 int j, m, b; cin >> j; cin.ignore(); cin >> m; cin.ignore(); cin >> b; // 出力 int T = j + m + b; double A = T / 3.0; cout << "合計点:" << T << "\n"; cout << "平均点:" << fixed << setprecision(1) << A << endl; }