#include <bits/stdc++.h>
using namespace std;
int main() {
  ios::sync_with_stdio(0);
  cin.tie(0);
  cout.tie(0);
  ;
  double n, m, a, b, x = 1000000, y;
  cin >> n >> m;
  while (n--) {
    cin >> a >> b;
    y = a / b;
    x = min(x, y);
  }
  printf("%.8lf\n", m * x);
}
