#include <bits/stdc++.h>
using namespace std;
int main() {
  ios_base::sync_with_stdio(false);
  cin.tie(0);
  cout.tie(0);
  double mx = 2e9;
  double a, b;
  int n, m;
  cin >> n >> m;
  for (int i = 0; i < n; i++) {
    cin >> a >> b;
    double t = a / b;
    double ans = t * m;
    if (ans < mx) {
      mx = ans;
    }
  }
  printf("%lf\n", mx);
  return 0;
}
