#include using namespace std; int main(){ int j,m,b; scanf("%d,%d,%d",&j,&m,&b); cout << "合計点:" << j+m+b << "\n"; cout << "平均点:" << (j + m + b)/3; }