#include <bits/stdc++.h>
using namespace std;
int main() {
  int N, M;
  cin >> N >> M;
  double ans = 1e18;
  for (int i = 0; i < N; i++) {
    double a, b;
    cin >> a >> b;
    ans = min(ans, a / b);
  }
  ans *= M;
  cout << fixed << setprecision(10) << ans << endl;
  return 0;
}
