#include using namespace std; int main(){ int j,m,b; scanf("%d,%d,%d",&j,&m,&b); int s = j + m + b; printf("合計点:%d\n平均点:%.2f",s,(double)s/3); }