import java.io.BufferedReader; import java.io.InputStreamReader; import java.io.IOException; public class Main{ public static void main(String[] args)throws IOException{ BufferedReader in = new BufferedReader(new InputStreamReader(System.in)); int m = Integer.parseInt(in.readLine()); int cock = 0; int hen = 0; int chicken = 0; for(int i = 0;i <= 3;i++){ cock = 4i; hen = 25 - 7i; chicken = 100 - cock - hen; System.out.println(cock+" "+hen+" "+chicken); } } }