#include <bits/stdc++.h>
using namespace std;
int main() {
  int n;
  float m;
  cin >> n >> m;
  float pr = INT_MAX, p, q;
  while (n-- > 0) {
    cin >> p >> q;
    pr = min(pr, (p * m) / q);
  }
  cout << setprecision(20) << pr;
}
