#include <bits/stdc++.h>
using namespace std;
struct app {
  int x, y;
};
int main() {
  int n, m;
  scanf("%d", &n);
  scanf("%d", &m);
  int m1, m2;
  vector<app> arr(n);
  for (__typeof(0) i = 0; i <= n - 1; i++) {
    scanf("%d", &arr[i].x);
    scanf("%d", &arr[i].y);
    if (i == 0) {
      m1 = arr[i].x;
      m2 = arr[i].y;
    } else {
      if (arr[i].x * m2 < arr[i].y * m1) {
        m1 = arr[i].x;
        m2 = arr[i].y;
      }
    }
  }
  double ans = m * m1;
  ans = ans * 1.0 / m2 * 1.0;
  cout << fixed << setprecision(8) << ans;
  printf("\n");
  return 0;
}
