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