#include <bits/stdc++.h>
int main() {
  int n, m;
  double a, b, min = 2000000000;
  scanf("%d%d", &n, &m);
  for (int i = 1; i <= n; i++) {
    scanf("%lf%lf", &a, &b);
    if (a / b < min) {
      min = a / b;
    }
  }
  double rez = 1.0 * min * m;
  printf("%lf", rez);
  return 0;
}
