#include <bits/stdc++.h>
using namespace std;
double maxn = 1e7 + 10;
int main() {
  int n;
  double m;
  cin >> n >> m;
  double a, b;
  while (n--) {
    cin >> a >> b;
    maxn = min(maxn, (a / b) * m);
  }
  printf("%.8lf", maxn);
  return 0;
}
