#include <bits/stdc++.h>
int main() {
  int n, m;
  double min = 1000000;
  scanf("%d %d", &n, &m);
  for (int i = 1; i <= n; i++) {
    double x, y;
    scanf("%lf %lf", &x, &y);
    double per = x / y;
    if (per < min) min = per;
  }
  printf("%.8lf", min * m);
}
