#include <bits/stdc++.h>
using namespace std;
double arr[100000];
int main() {
  ios::sync_with_stdio(false);
  cin.tie(0);
  long long int n, m, a, b;
  cin >> n >> m;
  long long int c = 0;
  for (int i = 0; i < n; i++) {
    cin >> a >> b;
    arr[c++] = ((double)a / (double)b) * (double)m;
  }
  sort(arr, arr + c);
  printf("%.12lf", arr[0]);
}
