Smart keypad-I problem

https://ide.codingblocks.com/s/54141smart keypad 1 problem in this problem my second test case is failing please debug the code and tell me the new approach

remove the if condition for checking zero we dont have to skip it . if string contains zero the output must also include zero’s mapped character.