import java.io.PrintWriter; import java.util.ArrayList; import java.util.List; import java.util.Scanner; public class Main { public static Scanner sc = new Scanner(System.in); public static void main(String[] args) { PrintWriter pr = new PrintWriter(System.out); sc = new Scanner(System.in); for (int j = 0; j < 100; j++) { pr.println("1 2 3 4"); pr.flush(); sc.next(); } } }