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