#include <bits/stdc++.h>
using namespace std;
int main() {
  ios_base::sync_with_stdio(false);
  cin.tie(NULL);
  cout.tie(NULL);
  int n;
  double m, x, y, ans = 100000000;
  cin >> n >> m;
  for (int i = 0; i < n; ++i) {
    cin >> x >> y;
    ans = min(ans, (x * m) / y);
  }
  printf("%.8f", ans);
  return 0;
}
