fork download
  1. n = []
  2. for i in range(5):
  3. num = int(input())
  4. n.append(num)
  5.  
  6. print(int(sum(n)/5))
  7. print(int(max(n)/2))
Success #stdin #stdout 0.03s 9688KB
stdin
10
10
10
10
60
stdout
20
30