#include <bits/stdc++.h>
class Solver {
 public:
  int n, m;
  Solver() = default;
  void read() { std::cin >> n >> m; }
  void solve() {
    int best_a = 100;
    int best_b = 1;
    for (int i = 0; i < n; ++i) {
      int a, b;
      std::cin >> a >> b;
      if (a * best_b < best_a * b) {
        best_a = a;
        best_b = b;
      }
    }
    std::cout.precision(10);
    std::cout << (double(best_a * m) / double(best_b)) << std::endl;
  }
  void write() {}
};
int main() {
  Solver solver;
  solver.read();
  solver.solve();
  solver.write();
  return 0;
}
