#include <bits/stdc++.h>
using namespace std;
int main() {
  double n, m, mn = 101;
  cin >> n >> m;
  for (int i = 0; i < n; i++) {
    double a, b;
    cin >> a >> b;
    double c = a / b;
    mn = min(mn, c);
  }
  printf("%.8f\n", (m * mn) * 1.00);
}
