#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++) {
    int a, b;
    cin >> a >> b;
    arr[i] = ((double)a / (double)b) * m;
  }
  sort(arr, arr + n);
  cout << fixed;
  cout << setprecision(9) << arr[0] << endl;
  return 0;
}
