#include <bits/stdc++.h>
using namespace std;
int main() {
  std::cout << std::fixed;
  std::cout << std::setprecision(8);
  double n, m;
  cin >> n >> m;
  double min = 100000.0;
  for (int i = 0; i < n; i++) {
    double a, b;
    cin >> a >> b;
    double s = a / b;
    if (min > s) min = s;
  }
  double ans = min * m;
  cout << ans;
  return 0;
}
