#include <bits/stdc++.h>
using namespace std;
const int N = 1e5 + 50;
const int oo = 1e9;
const int mod = 1e5;
int main() {
  int n, m;
  cin >> n >> m;
  double ans = 1e9;
  for (int i = 0; i < n; i++) {
    int a, b;
    cin >> a >> b;
    ans = min(ans, a * m / (b + 0.0));
  }
  printf("%6.12lf\n", ans);
}
