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