
main() {

  test(0,0);
  test(10,0);
  test(0,10);
  test(10,10);
}

test(int i, int j) {

  puts("");
  print(i);
  print(j);
  puts("");

  if (i && j) 
    puts("both i and j are non-zero");
  else if (i || j)
    puts("either i and j are non-zero");
  else if ((i==0) && (j==0))
    puts("both i and j are zero");

}
