Amrendra Kumar's submission of Decoder | CodeChef