Facebook
From Mubtasim, 1 Month ago, written in Python.
Embed
Download Paste or View Raw
Hits: 54
  1. n, k, l, c, d, p, nl, np = list(map(int,input().split()))
  2. a = n, k, l, c, d, p, nl, np
  3. # print(a)
  4.  
  5. x = k*l
  6. n1 = x//nl
  7. n2 = c*d
  8. n3 = p//np
  9. n4 = min(n1,n2,n3)
  10. print(n4//n)