#include <bits/stdc++.h>
const int mod = 1e9 + 7;
using namespace std;
vector<double> v;
int main() {
  std::ios::sync_with_stdio(false);
  cin.tie(NULL);
  int n, m;
  cin >> n >> m;
  for (int i = 0; i < n; i++) {
    double a, b;
    cin >> a >> b;
    double c = a / b;
    v.push_back(c);
  }
  sort(v.begin(), v.end());
  double ans = v[0] * 1.0 * m;
  printf("%.8f", ans);
}
