#include <bits/stdc++.h>
using namespace std;
int main() {
  double n, m, i, a, b, x, mini;
  while (cin >> n >> m) {
    mini = 100001.0;
    while (n--) {
      cin >> a >> b;
      x = (a / b) * m;
      if (mini > x) mini = x;
    }
    printf("%.8lf\n", mini);
  }
  return 0;
}
