fork download
  1. l,w,h=map(int, input().split())
  2. import math
  3.  
  4. print(int(math.ceil(h*w+h*l)/8))
  5. print(math.ceil(h*w+h*l)/8)
Success #stdin #stdout 0.04s 9972KB
stdin
1 1 3
stdout
0
0.75