m = 0
for i in range(5):
s = raw_input()
m += float(s)/5.0
print 'the average is: ',m
i = 0
m = 0
while i < 5:
s = raw_input()
i += 1
m += float(s)/5.0
print 'the average is: ',m
m = 0
for i in range(5):
s = raw_input()
m += float(s)/5.0
print 'the average is: ',m
i = 0
m = 0
while i < 5:
s = raw_input()
i += 1
m += float(s)/5.0
print 'the average is: ',m