#include <bits/stdc++.h>
using namespace std;
long long mod = 1000000007LL;
long long large = 2000000000000000000LL;
int main() {
  int n, m;
  cin >> n >> m;
  long double re = 100;
  for (int i = 0; i < n; i++) {
    long double a, b;
    cin >> a >> b;
    re = min(re, (long double)a / b);
  }
  cout << setprecision(10) << fixed << re * m << endl;
  return 0;
}
