#include <bits/stdc++.h>
using namespace std;
int main() {
  ios_base::sync_with_stdio(false);
  cin.tie(NULL);
  cout.tie(NULL);
  ;
  long long t, n, x, y, m, b, sum = 0, x1 = 0, x2 = 0, mx = -1, u = 1, mn = 1e9;
  cin >> n >> m;
  double me = 100000000.0, f;
  for (int i = 0; i < n; i++) {
    cin >> x >> y;
    f = (double)x / (double)y;
    f = f * double(m);
    me = min(me, f);
  }
  cout << fixed << setprecision(8) << me << endl;
}
