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