#include <bits/stdc++.h>
int main() {
  int n, m;
  std::cin >> n >> m;
  auto price = std::numeric_limits<float>::max();
  for (int i = 0; i < n; ++i) {
    int a, b;
    std::cin >> a >> b;
    price = std::min(price, (float)a / (float)b);
  }
  std::cout << std::fixed << std::setprecision(8) << m * price << std::endl;
}
