Company: HSBC_9sep
Difficulty: medium
Nth Highest Order ID Problem Description A wholesaler has to clear the stock of the products accumulated over past years. The seller is giving 50% off on some of the orders that he is receiving to increase the stock clearance rate. He decided that offer will be given to the customers with below conditions: Who's order id is greater than a lucky number M which is preceded and must be the same when reversed. All the order ids that satisfy condition (I) are arranged in ascending order and the N th higher order id will get the applicable offer. Please help the wholesaler to get the N th higher order id to give 50% discount if M and N are provided as input. Read the input from STDIN and print the output to STDOUT. Do not write arbitrary strings while reading the input or while printing, as these contribute to the standard output. Input Format The input contains two integers M and N separated by a single white space. Output Format The output contains the N th higher order id for the given lu