#include <bits/stdc++.h>
using namespace std;
int main() {
  double min, res;
  int n, m, a, b;
  min = 1000;
  cin >> n >> m;
  for (int i = 0; i < n; i++) {
    cin >> a >> b;
    res = (float)a / (float)b;
    if (res < min) min = res;
  }
  cout << setprecision(8) << min * m << endl;
  return 0;
}
