#include <bits/stdc++.h>
using namespace std;
int main() {
  int n, m;
  cin >> n;
  cin >> m;
  double cost = INT_MAX;
  for (int i = 0; i < n; i++) {
    double a, b;
    cin >> a >> b;
    if (cost > a / b) cost = a / b;
  }
  cout << setprecision(9) << m * cost << endl;
  return 0;
}
