See this testcase to understand

INPUT 198 2314 8
CORRECT OUTPUT 2314 8 198

wrong == 198 8 2314

Click here to start solving coding interview questions