#include <bits/stdc++.h>
using namespace std;
int main() {
  int n;
  double m;
  cin >> n >> m;
  double x, y, minx = 10000000;
  for (int i = 0; i < n; i++) {
    cin >> x >> y;
    minx = min(minx, x / y);
  }
  fixed;
  cout << setprecision(13) << minx * m;
}
