import java.io.*; import java.util.*; import java.text.*; import java.math.*; import java.util.regex.*; public class Solution { public static void main(String[] args) { Scanner in = new Scanner(System.in); int t = in.nextInt(); int b = in.nextInt(); int f = in.nextInt(); int c = in.nextInt(); int s = b+f; if(s<=c){ System.out.print(-1); } else{ System.out.println(t+c); System.out.print(t+" "); System.out.print(f+c+" "); System.out.print(t+c+" "); System.out.println(t+" "); System.out.println(b+" "+t); System.out.println(b+" "+f); System.out.println(c+" "+(b+f));} } }