#include <bits/stdc++.h>
using namespace std;
int main() {
  int n, kg;
  cin >> n >> kg;
  float ans = 100000000000;
  for (int i = 0; i < n; ++i) {
    float k, price;
    cin >> k >> price;
    ans = min(ans, (k / price) * kg);
  }
  cout << fixed;
  cout << setprecision(6);
  cout << ans;
}
