#include <bits/stdc++.h>
using namespace std;
int main() {
  long double n, m, a[5005], b[5005], min = 1000000;
  cin >> n >> m;
  for (int i = 0; i < n; ++i) {
    cin >> a[i] >> b[i];
    long double f = a[i] / b[i];
    if (f < min) {
      min = f;
    }
  }
  long double s = min * m;
  cout << fixed << setprecision(8) << s << endl;
  return 0;
}
