#include <bits/stdc++.h>
using namespace std;
int main() {
  int n, m;
  cin >> n >> m;
  double arr[n];
  for (int i = 0; i < n; i++) {
    double a, b;
    cin >> a >> b;
    arr[i] = (m * 1.0) * (a / b);
  }
  double x = *min_element(arr, arr + n);
  printf("%.8lf", x);
}
