j, m, b = map(int, input().split(',')) T = j + m + b A = (T * 100) // 3 / 100.0 def format_avg(a): s = "{0:.2f}".format(a) if s.endswith('00'): return "{0:.1f}".format(a) elif s.endswith('0'): return s[:-1] else: return s formatted_A = format_avg(A) print(f'合計点:{T}平均点:{formatted_A}')