#include <bits/stdc++.h>
using namespace std;
int main() {
  int n, m;
  double mn = 1000.0;
  cin >> n >> m;
  while (n--) {
    double a, b;
    cin >> a >> b;
    mn = min(mn, a / b);
  }
  cout << setprecision(9) << mn * m;
}
