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