func_code_string: #include <bits/stdc++.h>   using namespace std;   int n, k, l, c, d, p, nl, np;   int main() {     cin >> n >> k >> l >> c >> d >> p >> nl >> np;     int a, b, e;     a = (k * l) / nl;     b = c * d;     e = p / np;     cout << min(min(a, b), e) / n << endl;     return 0;   }   