import java.io.; public class Main{ public static void main(String[]args)throws IOException{ BufferedReader in = new BufferedReader(new InputStreamReader(System.in)); String str = null; while((str = in.readLine()) != null){ for(int i = 0;i <=3;i ++){ System.out.print(4i + " "); System.out.print(25 - 7i + " "); System.out.print(75 + 3i +" "); System.out.println(); } System.out.println(); } } }