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