#include <bits/stdc++.h>
using namespace std;
long long n, m;
long double a, b, ans = 1e18;
int main() {
  cin.sync_with_stdio(0);
  cin.tie(0);
  cin >> n >> m;
  for (long long i = 1; i <= n; ++i) {
    cin >> a >> b;
    ans = min(ans, m * a / b);
  }
  cout.precision(25);
  cout << ans << '\n';
}
