#include <bits/stdc++.h>
int main() {
  int m, n, a, b;
  double sum, sum2 = 1000;
  scanf("%d%d", &n, &m);
  while (n--) {
    scanf("%d%d", &a, &b);
    sum = (double)a / b;
    if (sum < sum2) sum2 = sum;
  }
  printf("%.8lf", sum2 * m);
  return 0;
}
