#include <bits/stdc++.h>
using namespace std;
const char nl = '\n';
const int today = 1;
int main() {
  ios_base::sync_with_stdio(0);
  cin.tie(0);
  int n, m;
  cin >> n >> m;
  int x, y;
  cin >> x >> y;
  for (int i = 0; i < n - 1; i++) {
    int a, b;
    cin >> a >> b;
    if (x * b > a * y) {
      x = a;
      y = b;
    }
  }
  cout << fixed;
  cout << setprecision(8) << 1.0 * x * m / y;
}
