import java.util.Scanner; class Main{ public static void main(String[] args){ Scanner sc = new Scanner(System.in); int L = sc.nextInt(); int R = sc.nextInt(); System.out.println(4); System.out.printf("%d %d %d %d\n",L,R,R,R); System.out.println(sc.nextInt()); } }