#include <bits/stdc++.h>
int n, a, b, i, x;
double ans, p;
int main() {
  scanf("%d%d", &n, &x);
  ans = 1ll << 60;
  for (i = 1; i <= n; ++i) {
    scanf("%d%d", &a, &b);
    p = a * x * 1.0 / b;
    if (p < ans) ans = p;
  }
  printf("%.7f\n", ans);
  return 0;
}
