#include <bits/stdc++.h>
using namespace std;
int main() {
  int n, m;
  cin >> n >> m;
  long double a[n], b[n];
  vector<long double> v;
  for (int i = 0; i < n; i++) {
    cin >> a[i] >> b[i];
    v.push_back(a[i] / b[i]);
  }
  long double x = v[0];
  int p = 0;
  for (int i = 0; i < n; i++) {
    if (x > v[i]) {
      p = i;
      x = v[i];
    }
  }
  cout << std::fixed;
  cout << std::setprecision(15);
  cout << ((m * (a[p])) / b[p]);
  return 0;
}
