#include <bits/stdc++.h>
using namespace std;
int main() {
  int n, m;
  cin >> n >> m;
  double p = 1e9;
  for (int i = 0; i < n; i++) {
    double a, b;
    cin >> a >> b;
    p = min(p, a / b);
  }
  cout << setprecision(10) << fixed;
  cout << p * m << endl;
  return 0;
}
