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