#include <bits/stdc++.h>
using namespace std;
const int N = (int)2e5 + 10;
const int MOD = (int)1e9 + 7;
long long x = (long long)1e18;
long long y = -x;
int n, k;
int a, b;
long long len;
long long gcd(long long x, long long y) {
  while (x && y) {
    if (x > y)
      x %= y;
    else
      y %= x;
  }
  return x + y;
}
void relax(long long second, long long first) {
  long long d;
  if (first >= second)
    d = first - second;
  else
    d = second - first + len;
  long long g = gcd(len, d);
  x = min(len / g, x);
  y = max(len / g, y);
}
int main() {
  ios_base::sync_with_stdio(0);
  cin.tie(0);
  cin >> n >> k;
  cin >> a >> b;
  len = n * 1ll * k;
  long long s1 = a;
  long long s2 = (len - a) % len;
  for (int i = 0; i < n; i++) {
    long long pos = i * 1ll * k;
    long long f1 = (pos + b) % len;
    long long f2 = ((pos - b) % len + len) % len;
    relax(s1, f1);
    relax(s1, f2);
    relax(s2, f1);
    relax(s2, f2);
  }
  cout << x << ' ' << y;
  return 0;
}
