#include <bits/stdc++.h>
using namespace std;
int main() {
  int n, i, k, p = 0;
  cin >> n >> k;
  double ans, a, b, j;
  for (i = 0; i < n; i++) {
    cin >> a >> b;
    if (p == 0) {
      ans = (float)k * a * 0.1;
      ans /= b;
      ans *= 10;
      p++;
    } else {
      j = (float)k * a * 0.1;
      j /= b;
      j *= 10;
      if (ans > j) ans = j;
    }
  }
  cout << std::setprecision(9) << ans << '\n';
  ;
  return 0;
}
