#include <bits/stdc++.h>
using namespace std;
int main() {
  int n, m;
  double a, b;
  cin >> n;
  cin >> m;
  vector<double> v;
  for (int i = 0; i < n; i++) {
    cin >> a;
    cin >> b;
    v.push_back(a / b);
  }
  double mini = v[0];
  for (int i = 0; i < n; i++) {
    if (mini > v[i]) {
      mini = v[i];
    }
  }
  cout.precision(7);
  cout << mini * m << endl;
  return 0;
}
