#include <bits/stdc++.h>
using namespace std;
int main() {
  int r1, r2, c1, c2;
  scanf("%d%d%d%d", &r1, &r2, &c1, &c2);
  if ((r1 == c1) || (r2 == c2))
    printf("1 ");
  else
    printf("2 ");
  if ((r1 + r2) % 2 == (c1 + c2) % 2) {
    if ((r1 + r2 == c1 + c2) || (r1 - r2 == c1 - c2))
      printf("1 ");
    else
      printf("2 ");
  } else {
    printf("0 ");
  }
  printf("%d\n", max(abs(r1 - c1), abs(r2 - c2)));
  return 0;
}
