#include <bits/stdc++.h>
using namespace std;
int main() {
  int n, m, x, y;
  cin >> n >> m;
  float ans, minn = 10001;
  for (int i = 0; i < n; i++) {
    int a, b;
    cin >> a >> b;
    ans = (a * m * 1.0) / (b);
    minn = min(ans, minn);
  }
  printf("%0.7f", minn);
}
