#include <bits/stdc++.h>
int main() {
  int n, m;
  scanf("%d %d", &n, &m);
  int ara[n][2], t1, t2, swapped, i, j;
  for (i = 0; i < n; i++) {
    scanf("%d %d", &ara[i][0], &ara[i][1]);
  }
  double max = 1000000, x, y;
  for (i = 0; i < n; i++) {
    x = ara[i][0];
    y = ara[i][1];
    if (max > x / y) {
      max = x / y;
    }
  }
  printf("%.8lf\n", max * m);
}
