#include <bits/stdc++.h>
using namespace std;
int main() {
  int n;
  float m, a, b, ans = INT_MAX, d;
  cin >> n >> m;
  while (n--) {
    cin >> a >> b;
    d = (a * m) / b;
    ans = min(ans, d);
  }
  cout << setprecision(10) << ans;
  return 0;
}
