#include <bits/stdc++.h>
using namespace std;
const long long int maxn = 1e4 + 5, M = 505, bghs = 1e9 + 7, inf = 1e18;
long long int n, m;
long double a[maxn];
int main() {
  ios_base::sync_with_stdio(0), cin.tie(0), cout.tie(0);
  cin >> n >> m;
  for (int i = 0; i < n; i++) {
    long double x, b;
    cin >> x >> b;
    a[i] = x / b;
  }
  sort(a, a + n);
  a[0] *= m;
  { cout << fixed << setprecision(15) << a[0]; };
}
