#include <bits/stdc++.h>
using namespace std;
int N, M, temp1, temp2;
double MIN = 100000, temp;
int main() {
  cin >> N >> M;
  for (int i = 0; i < N; i++) {
    cin >> temp1 >> temp2;
    temp = (double)temp1 / temp2;
    if (temp < MIN) {
      MIN = temp;
    }
  }
  cout << fixed << setprecision(8) << MIN * M;
}
