#include #include int main() { char comma; int j, m, b; std::cin >> j >> comma >> m >> comma >> b; std::cout << "合計点:" << j + m + b << '\n'; std::cout << std::fixed << std::setprecision(1) << "平均点:" << (j + m + b) / 3.0 << '\n'; return 0; }