ProgramID- 9244
SkillRack
Reverse Odd Digits

The program must accept an integer N as the input. The program must print all the odd digits of N in reverse order as the output. If there is no odd digit in N then the program must print -1 as the output.

Example Input/Output 1:
Input:
1047655

Output:
5571

Example Input/Output 2:
Input:
24820

Output:
-1


Max Execution Time Limit: 1000 millisecs