Kuroni coordinator Mathforces round write Proof AC team all preparation discuss team score distribution roundthe round consist n problem number 1 n the problem order increase order difficulty problem difficulty a score distribution round denote array a_1 a_2 dot a_n a_i score ith problem Kuroni think score distribution satisfy follow requirement the score problem positive integer exceed 109 a hard problem grant strictly high score easy problem in word 1 leq a_1 a_2 dot a_n leq 109 the balance score distribution define number triple j k 1 leq j k leq n a_i a_j a_k exactly m help team find score distribution satisfie Kuronis requirement in case score distribution exist output 1