Input
The input will contain three lines with three different positive numbers greater or equal than 3. The first number will be the TOC, the second number will be the BUM and the third one the target number.
Output
Print out the TOC-BUM sequence to represent the number or if it is not possible just output the target number.
Input
5 7 9
Output
9
Input
5 7 19
Output
TOC BUM BUM
Input
3 4 6
Output
TOC TOC