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