#include <bits/stdc++.h>
using namespace std;
long long int gcd(long long int a, long long int b) {
  if (a == 0) return b;
  return gcd(b % a, a);
}
signed main(void) {
  std::ios::sync_with_stdio(false);
  cin.tie(NULL);
  long long int t = 1;
  while (t--) {
    long long int n, k;
    cin >> n >> k;
    long long int a, b;
    cin >> a >> b;
    long long int l = a + b + k;
    long long int m = k + a - b;
    long long int y = 2 * k - a - b;
    long long int x = k - a + b;
    long long int mn = 1e18;
    long long int mx = 0;
    long long int total = n * k;
    for (long long int i = 0; i < n + 2; i++) {
      long long int temp;
      temp = total / (gcd(total, l));
      mn = min(mn, temp);
      mx = max(mx, temp);
      temp = total / (gcd(total, m));
      mn = min(mn, temp);
      mx = max(mx, temp);
      temp = total / (gcd(total, y));
      mn = min(mn, temp);
      mx = max(mx, temp);
      temp = total / (gcd(total, x));
      mn = min(mn, temp);
      mx = max(mx, temp);
      l += k;
      m += k;
      y += k;
      x += k;
    }
    cout << mn << " " << mx << endl;
  }
}
