#include <bits/stdc++.h>
using namespace std;
int main() {
  int n, m, a, b;
  cin >> n >> m;
  double mn = 101.00, x = 0.00;
  for (int i = 1; i <= n; i++) {
    cin >> a >> b;
    x = a / (b * 1.00);
    if (mn > x) mn = x;
  }
  cout << fixed << setprecision(8);
  cout << mn * m << endl;
  return 0;
}
