Input
5 6 9 n
Output
1 2 5
Solve for n
5 6 9 n
Output
1 2 5
Solve for n