your program fail this time get wrong answer test 233this easy version problem in version 1 le n le 2000 you hack problem solve lock problemsthe problem test contain n onechoicequestion each question contain k option correct the answer ith question h_i answer question h_i earn 1 point earn 0 point question the value h_1 h_2 dot h_n know problemHowever mistake program it move answer clockwise consider n answer write circle due mistake program shift cyclicallyformally mistake move answer question question bmod n 1 so move answer question 1 question 2 answer question 2 question 3 answer question n question 1we n answer answer suit there kn possible answer suit totalyoure wonder answer suit satisfy follow condition move clockwise 1 total number point new answer suit strictly large number point old you need find answer modulo 998244353For example n 5 answer suit a12345 submit a51234 mistake if correct answer suit h52234 answer suit earn 1 point answer suite earn 4 point since 4 1 answer suit a12345 count