#include <bits/stdc++.h>
using namespace std;
int main() {
  int n, m;
  cin >> n >> m;
  double* arr = new double[n];
  double a, b;
  cin >> a >> b;
  arr[0] = a / b;
  double min1;
  min1 = arr[0];
  for (int i = 1; i < n; i++) {
    cin >> a >> b;
    arr[i] = a / b;
    if (arr[i] < min1) min1 = arr[i];
  }
  double sum;
  sum = min1 * m;
  cout << setprecision(8) << sum;
  return 0;
}
