#include <bits/stdc++.h>
using namespace std;
signed main() {
  double n, m, mm = 100000000, x, y;
  cin >> n >> m;
  for (long long i = 0; i < n; i++) {
    cin >> x >> y;
    double xx = (m * x) / y;
    if (xx < mm) mm = xx;
  }
  cout << fixed << setprecision(10) << mm;
}
