#include <bits/stdc++.h>
using namespace std;
int main() {
  int n, m;
  cin >> n >> m;
  int a, b;
  double gia[n];
  for (int i = 0; i < n; i++) {
    cin >> a >> b;
    gia[i] = (double)a / b;
  }
  double kq = gia[0];
  for (int i = 1; i < n; i++) {
    if (kq > gia[i]) kq = gia[i];
  }
  cout << setprecision(8) << kq * m;
}
