#include <bits/stdc++.h>
using namespace std;
inline int read() {
  int x = 0;
  bool f = false;
  char e = getchar();
  for (; (e < '0' || e > '9') && e != '-'; e = getchar())
    ;
  for (; (e >= '0' && e <= '9') || e == '-'; e = getchar())
    e == '-' ? f = true : x = (x << 1) + (x << 3) + (e ^ 48);
  return f ? -x : x;
}
int main() {
  int n = read(), m = read();
  int fz = 1000, fm = 0;
  for (int i = 1; i <= n; i++) {
    int x = read(), y = read();
    if (fz * y > fm * x) fz = x, fm = y;
  }
  printf("%.10f", (double)((double)fz / (double)fm) * (double)m);
  return 0;
}
