#include <bits/stdc++.h>
using namespace std;
double minn = 2e9, x, y, M;
int N;
int read() {
  char c;
  while (c = getchar(), c < '0' || c > '9')
    ;
  int x = c - '0';
  while (c = getchar(), c >= '0' && c <= '9') x = x * 10 + c - '0';
  return x;
}
inline double min(double x, double y) { return x < y ? x : y; }
int main() {
  N = read(), M = read();
  for (int i = 1; i <= N; i++) {
    x = read(), y = read();
    minn = min(minn, M * x / y);
  }
  printf("%.8lf", minn);
  return 0;
}
