#include <bits/stdc++.h>
using namespace std;
double ans = 100000000, m, n, a, b;
int main() {
  cin >> n >> m;
  while (n--) {
    cin >> a >> b;
    ans = min(ans, a * 1.0 / b * m);
  }
  cout << fixed << setprecision(8) << ans;
}
