The code will take the hints for processing input.