#include <bits/stdc++.h>
using namespace std;
long long n, m, b, a;
double v, l;
int main() {
  l = 9999999999;
  cin >> n >> m;
  for (int i = 1; i <= n; i++) {
    cin >> a >> b;
    v = (double)a / b * m;
    l = min(l, v);
  }
  std::cout << std::setprecision(9) << l << '\n';
}
