#include <bits/stdc++.h>
using namespace std;
struct price {
  int kilo;
  int yauns;
};
bool priceByKilo(price p1, price p2) {
  double a1, a2;
  a1 = p1.yauns * 1.0 / p1.kilo;
  a2 = p2.yauns * 1.0 / p2.kilo;
  return a1 < a2;
}
int main() {
  int n, m, i;
  cin >> n >> m;
  price a[n];
  for (i = 0; i < n; i++) {
    cin >> a[i].yauns;
    cin >> a[i].kilo;
  }
  sort(a, a + n, priceByKilo);
  cout << fixed << setprecision(8) << double(a[0].yauns * m * 1.0 / a[0].kilo);
}
