#include <bits/stdc++.h>
using namespace std;
int main() {
  int n;
  double m, x;
  cin >> n >> m;
  double a[5000], b[5000], c[5000];
  for (int i = 0; i < n; i++) {
    cin >> a[i] >> b[i];
    c[i] = a[i] / b[i];
  }
  sort(c, c + n);
  x = c[0] * m;
  printf("%.8lf\n", x);
}
