Product on the segment by modulo | CodeChef