728x90
N, W, H, L = map(int, input().split())
width = W // L
height = H // L
tmp = width*height

if tmp < N:
  print(tmp)
elif tmp > N:
  print(N)
elif tmp == N:
  print(N)
728x90

+ Recent posts