a, b, c = map(int, input().split(",") ) print("合計点:"+str(a+b+c)) print("平均点:"+"{:.1f}".format( (a+b+c)/3 ) )