#include <bits/stdc++.h>
using namespace std;
int main() {
  int n, m, ipos = 0;
  cin >> n >> m;
  int a[n], b[n];
  for (int i = 0; i < n; i++) {
    cin >> a[i] >> b[i];
  }
  double c = a[0] * 1.0 / b[0] * 1.0;
  for (int i = 1; i < n; i++) {
    if (a[i] * 1.0 / b[i] * 1.0 < c) {
      c = a[i] * 1.0 / b[i] * 1.0;
      ipos = i;
    }
  }
  double s = m * 1.0 * c * 1.0;
  printf("%.8f", s);
  return 0;
}
