#include <bits/stdc++.h>
using namespace std;
const int maxn = 1e5 + 5;
const int inf = 0x3f3f3f3f;
int main() {
  int n, m;
  cin >> n >> m;
  double x, y;
  cin >> x >> y;
  double min = x / y;
  ;
  for (int i = 1; i < n; i++) {
    cin >> x >> y;
    if (min > x / y) min = x / y;
  }
  printf("%0.8f\n", min * m);
}
