I want to remove some specific numbers from the user input string. If 7 is present, it is directly removed, and when 5 is present it checks if the next character is 6, if yes th