#include <bits/stdc++.h>
using namespace std;
int main() {
  double n, m, a, b;
  double mn = 9999999;
  cin >> n >> m;
  while (n--) {
    cin >> a >> b;
    mn = min(mn, a / b);
  }
  printf("%.8lf\n", m * mn);
  return 0;
}
