#include <bits/stdc++.h>
using namespace std;
int main() {
  long long int j, i, k, n, m, x;
  float d[6000], a[5008], b[5009];
  cin >> n >> m;
  for (i = 0; i < n; i++) {
    cin >> a[i] >> b[i];
    d[i] = (float)(1.0 * a[i]) / b[i];
  }
  sort(d, d + n);
  printf("%.8f", d[0] * m);
  return 0;
}
