#include <bits/stdc++.h>
using namespace std;
int main() {
  int n;
  double m;
  cin >> n >> m;
  double a, b;
  double mini = 1e18;
  for (int i = 0; i < n; ++i) {
    cin >> a >> b;
    double x = a / b * m;
    mini = min(mini, x);
  }
  printf("%.10lf", mini);
  return 0;
}
