a,b,c = map(float,input().split(' '))
sum0 = a + b + c
sum = '{:.2f}'.format(sum0)
average = '{:.2f}'.format(sum0 / 3)
print(sum,average)