#include <bits/stdc++.h>
using namespace std;
int main() {
  int t;
  double n, a, b, m = 5010;
  scanf("%d%lf", &t, &n);
  while (t--) {
    scanf("%lf%lf", &a, &b);
    if (a / b < m) m = a / b;
  }
  printf("%.8f", m * n);
}
