#include <bits/stdc++.h>
using namespace std;
int main() {
  ios_base::sync_with_stdio();
  int n, m;
  cin >> n >> m;
  double ans = 10000000000;
  for (int i = 1; i <= n; i++) {
    int a, b;
    cin >> a >> b;
    ans = min(ans, a * 1.0 / b);
  }
  cout.precision(10);
  cout << m * ans;
}
