#include <bits/stdc++.h>
using namespace std;
double m = 1e6, ans, t, x, y;
int n, k;
int main() {
  ios::sync_with_stdio(0), cin.tie(0), cout.tie(0);
  cout << fixed << setprecision(8);
  cin >> n >> k;
  for (int i = 0; i < n; i++) {
    cin >> x >> y;
    ans = k * (x / y);
    m = min(m, ans);
  }
  cout << m;
}
