#include <bits/stdc++.h>
using namespace std;
long long int gcd(long long int a, long long int b) {
  if (b == 0) return a;
  if (b > a) return gcd(b, a);
  return gcd(b, a % b);
}
int main() {
  ios_base::sync_with_stdio(false);
  cin.tie(NULL);
  cout.tie(NULL);
  long long int n, k, a, b;
  cin >> n >> k >> a >> b;
  long long int n1 = n * k;
  long long int st = a + b;
  long long int mn = n * k + 1, mx = -1;
  while (st and st <= n1) {
    long long int g = gcd(st, n1);
    long long int cr = (n1 / g);
    mn = min(mn, cr);
    mx = max(mx, cr);
    st += k;
  }
  st = a + k - b;
  while (st and st <= n1) {
    long long int g = gcd(st, n1);
    long long int cr = (n1 / g);
    mn = min(mn, cr);
    mx = max(mx, cr);
    st += k;
  }
  st = k - a + b;
  while (st and st <= n1) {
    long long int g = gcd(st, n1);
    long long int cr = (n1 / g);
    mn = min(mn, cr);
    mx = max(mx, cr);
    st += k;
  }
  st = k - a + k - b;
  while (st and st <= n1) {
    long long int g = gcd(st, n1);
    long long int cr = (n1 / g);
    mn = min(mn, cr);
    mx = max(mx, cr);
    st += k;
  }
  cout << mn << " " << mx << "\n";
  return 0;
}
