import java.util.ArrayList; import java.util.Arrays; import java.util.Collections; import java.util.HashMap; import java.util.List; import java.util.PriorityQueue; import java.util.Scanner; public class Main { public static int RANGE = 100; public static void main(String[] args) { Scanner sc = new Scanner(System.in); System.out.println(0 + " " + 0); final int orig_dist = sc.nextInt(); System.out.println(orig_dist + " " + 0); final int x = orig_dist - sc.nextInt() / 2; System.out.println(x + " " + 0); final int y = sc.nextInt(); System.out.println(x + " " + y); } }