#include <bits/stdc++.h>
using namespace std;
const long long MAX = 1e12;
long double res, N, M, X, Y;
int main() {
  ios_base::sync_with_stdio(false);
  res = MAX;
  cin >> N >> M;
  for (int A = 1; A <= N; A++) {
    cin >> X >> Y;
    res = min(res, (M * X) / Y);
  }
  cout << setprecision(12);
  cout << fixed;
  cout << res;
  return 0;
}
