coder_penguin's submission of Mortgage | CodeChef