#include <bits/stdc++.h>
using namespace std;
void solve() {
  long long n, m;
  cin >> n >> m;
  cout << fixed;
  cout << setprecision(8);
  double mn = 1000000.0;
  for (long long i = 0; i < n; i++) {
    long long a, b;
    cin >> a >> b;
    cout << fixed;
    cout << setprecision(8);
    double x = (double)a / b;
    x *= (double)m;
    mn = min(mn, x);
  }
  cout << mn << "\n";
}
signed main() {
  mt19937_64 rnd(chrono::system_clock::now().time_since_epoch().count());
  ios_base ::sync_with_stdio(0);
  cin.tie(0);
  solve();
}
