Problem in output

Which triplet should we print?
For example, if the input is 8, the should the output be 6 10 or
15 17?

both are correct
but don’t worry about such inputs here
no such inputs are used in testcases

Reference Code