#include <bits/stdc++.h>
using namespace std;
const int oo = (int)1e9 + 9;
bool cmp(const pair<int, int> &a, const pair<int, int> &b) {
  return a.first < b.first;
}
int main() {
  int n, m;
  cin >> n >> m;
  vector<pair<int, int> > k(n);
  for (int(i) = (0); (i) < (n); ++(i)) {
    cin >> k[i].first >> k[i].second;
  }
  sort(((k).begin()), ((k).end()), cmp);
  double ans = oo;
  for (int(i) = (0); (i) < (n); ++(i)) {
    ans = min(ans, (double)k[i].first / (double)k[i].second);
  }
  ans *= (double)m;
  cout << fixed << setprecision(8) << ans << endl;
  return 0;
}
