#include <bits/stdc++.h>
using namespace std;
const int MAXN = (long long)1e2;
const int INF = (long long)1e9;
const int MOD = (long long)1e9 + 7;
const int CHR = 97;
double MINcpk;
int main() {
  ios_base::sync_with_stdio(false);
  cin.tie(0);
  cout.tie(0);
  int n, m;
  double a, b;
  cin >> n >> m;
  MINcpk = INF;
  for (int i = 0; i < n; i++) cin >> a >> b, MINcpk = min(a / b, MINcpk);
  cout << fixed << setprecision(9) << MINcpk * m;
  return cout << '\n', 0;
}
