public class Question4 {

  public static void main(String[] args) {

    // Declare variables

	for (int i=1; i<=8; i++) {
	  for (int j=1; j<=8; j++) {
		if ((i+j)%2 == 0)
		  System.out.println("("+i+","+j+")");
	  }
	}
  }
}
