#include <bits/stdc++.h>
using namespace std;
int main() {
  ios_base::sync_with_stdio(false), cin.tie(0), cout.tie(0);
  ;
  double n, m, mn = 1000000000, a, b, val;
  cin >> n >> m;
  for (long long i = 0; i < n; i++) {
    cin >> a >> b;
    val = (a * 1.0) / b;
    val = val * m;
    mn = min(mn, val);
  }
  printf("%.8lf", mn);
  return 0;
}
