Amrendra Kumar's submission of StringCode | CodeChef