#include <bits/stdc++.h>
using namespace std;
int main() {
  long long int n, m;
  long long int a[5000], b[5000];
  double an = 10000.0, c;
  cin >> n >> m;
  for (long long int i = 0; i <= n - 1; i++) {
    cin >> a[i] >> b[i];
    c = (a[i] * 1.0) / b[i];
    an = min(c, an);
  }
  an = m * an;
  cout << fixed << setprecision(8);
  cout << an << endl;
  return 0;
}
