#include <bits/stdc++.h>
using namespace std;
int main() {
  ios::sync_with_stdio(false);
  cin.tie(0);
  cout.tie(0);
  int n, k;
  cin >> n >> k;
  vector<int> a(n);
  vector<int> b(n);
  vector<double> c(n);
  for (int i = 0; i < n; i++) {
    cin >> a[i] >> b[i];
    c[i] = a[i] * 1.0 / b[i];
  }
  double Min = c[0];
  for (int i = 1; i < n; i++) {
    if (Min > c[i]) Min = c[i];
  }
  cout << setiosflags(ios::fixed) << setprecision(8) << Min * k << '\n';
  return 0;
}
