#include <bits/stdc++.h>
int main() {
  int n, m, i;
  float x, max = 0.0;
  scanf("%d%d", &n, &m);
  int s[n][2];
  for (i = 0; i < n; i++) {
    scanf("%d%d", &s[i][0], &s[i][1]);
    x = (float)(s[i][0]) / s[i][1];
    if (max == 0.0) {
      max = x;
    }
    if (max > x) {
      max = x;
    }
  }
  x = max * m;
  printf("%.8f\n", x);
  return 0;
}
