#include <bits/stdc++.h>
const long long MXN = 1e5 + 1;
const long long MNN = 1e3 + 1;
const long long MOD = 1e9 + 7;
const long long INF = 1e18;
const long long OO = 1e9 + 500;
using namespace std;
double n, a, b, m;
double mn = MXN;
int main() {
  ios_base::sync_with_stdio(0), cout.tie(0), cin.tie(0);
  ;
  cin >> n >> m;
  for (int i = 1; i <= n; i++) {
    cin >> a >> b;
    mn = min(a / b * 1.0, mn);
  }
  cout << fixed << setprecision(6) << mn * m;
  return 0;
}
