fork download
  1. a = int(input())
  2. b = int(input())
  3. c = int(input())
  4.  
  5. k = 4*((a + b + c)//8+1)
  6. print(k)
  7.  
Success #stdin #stdout 0.01s 27704KB
stdin
16
18
20
stdout
28