#include <bits/stdc++.h>
using namespace std;
long long t = 0, n = 0, m = 0, k = 0, a = 0, b = 0, c = 0, d = 0, i = 0, j = 0,
          x = -1, y = -2, z = -3;
long long cnt = 0, sum = 0, prod = 1, maxx = 0, minn = 0;
bool alter = false, check = false;
char sign = '+', test = '0';
long long fact(int i) { return (i == 1) ? 1 : (i * fact(i - 1)); }
long long mod(int i) { return (i > 0) ? i : (i * (-1)); }
int main() {
  double N, M;
  cin >> N >> M;
  double A, B, C;
  cin >> A >> B;
  double Min = (A / B);
  for (long long f = 0; f < N - 1; f += 1) {
    cin >> A >> B;
    C = (A / B);
    if (C < Min) Min = C;
  }
  cout << setprecision(8) << ((Min)*M);
}
