#include <bits/stdc++.h>
using namespace std;
int main(int argc, char const *argv[]) {
  long long n, m;
  cin >> n >> m;
  double ans;
  long long set = 0;
  for (long long i = 0; i < n; i++) {
    long long a, b;
    cin >> a >> b;
    double p = (1.0 * a / b) * 1.0 * m;
    if (set == 0) {
      set = 1;
      ans = p;
    } else {
      if (p < ans) ans = p;
    }
  }
  cout << setprecision(14) << ans << "\n";
  return 0;
}
