#include <bits/stdc++.h>
using namespace std;
int main() {
  int n, m;
  cin >> n >> m;
  double a, b;
  double p[n];
  for (int i = 0; i < n; i++) {
    cin >> a >> b;
    p[i] = (a / b) * m;
  }
  sort(p, p + n);
  cout << std::setprecision(10) << p[0];
}
