#include <bits/stdc++.h>
using namespace std;
long long gcd(long long x, long long y) {
  if (y == 0) return x;
  return gcd(y, x % y);
}
int main() {
  ios_base::sync_with_stdio(0);
  cin.tie(0);
  cout.tie(0);
  long long n, k, a, b;
  cin >> n >> k;
  cin >> a >> b;
  long long mn = n * k, mx = 1;
  for (int i = 0; i < n; ++i) {
    long long val1 = gcd(abs(k * i - (a - b)), n * k);
    long long val2 = gcd(abs(k * i - (a + b)), n * k);
    mx = max(mx, max(val1, val2));
    mn = min(mn, min(val1, val2));
  }
  cout << n * k / mx << " " << n * k / mn << "\n";
  return 0;
}
