I\'m trying to implement the maximizing salary problem. Like if we are given two numbers 2 and 21 then the resultant number should be 221
2
21
221