#include <bits/stdc++.h>
using namespace std;
int main() {
  vector<double> list;
  int n, m;
  cin >> n >> m;
  double price = 100000000;
  for (int i = 0; i < n; i++) {
    double a, b;
    cin >> a >> b;
    double out = (a / b) * m;
    if (out < price) price = out;
  }
  cout << setprecision(10) << price;
  return 0;
}
