#include <bits/stdc++.h>
using namespace std;
;
const long long INF64 = 0X3F3F3F3F3F3F3F3F;
const int INF32 = 0x3F3F3F3F;
const int mod = 1e9 + 7;
const int N = 1005;
long long gcd(long long a, long long b) { return b ? gcd(b, a % b) : a; }
int main() {
  ios::sync_with_stdio(false);
  cin.tie(nullptr);
  cout.tie(nullptr);
  long long n, k, a, b, t;
  cin >> n >> k >> a >> b;
  a = 1 + a;
  vector<long long> bs;
  for (long long i = 0; i < n; ++i) {
    t = 1 - b + i * k + k;
    if (t > k * n) t %= k * n;
    bs.emplace_back(t);
    bs.emplace_back(1 + b + i * k);
  }
  long long mn, mx;
  mn = INF64;
  mx = 0;
  for (long long &i : bs) {
    i = (i - a + k);
    if (i > n * k) i %= n * k;
    i = n * k / gcd(i, n * k);
    mn = min(mn, i);
    mx = max(mx, i);
  }
  cout << mn << ' ' << mx << '\n';
  return 0;
}
