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