Facebook
From Hrishikesh Saha, 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.  
  3. md = k*l
  4. t1 = md//nl
  5. t2 = c*d
  6. t3 = p//np
  7.  
  8. t4 = min(t1,t2,t3)
  9. print(t4//n)