#include <bits/stdc++.h>
using namespace std;
long long n, k, a, b;
long long x, y, l;
long long gcd(long long a, long long b) { return b == 0 ? a : gcd(b, a % b); }
inline long long Abs(long long a) { return a < 0 ? -a : a; }
long long max(long long a, long long b) { return a > b ? a : b; }
long long min(long long a, long long b) { return a < b ? a : b; }
int main() {
  cin >> n >> k >> a >> b;
  long long all = n * k;
  x = (long long)1e18, y = -1;
  for (int i = 0; i <= n; i++) {
    if ((l = i * k + a + b) > 0) {
      x = min(x, all / gcd(all, l));
      y = max(y, all / gcd(all, l));
    }
    if ((l = i * k + a - b) > 0) {
      x = min(x, all / gcd(all, l));
      y = max(y, all / gcd(all, l));
    }
    if ((l = i * k + b - a) > 0) {
      x = min(x, all / gcd(all, l));
      y = max(y, all / gcd(all, l));
    }
    if ((l = i * k - a - b) > 0) {
      x = min(x, all / gcd(all, l));
      y = max(y, all / gcd(all, l));
    }
  }
  cout << x << " " << y << endl;
  return 0;
}
