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