Andrii Maksai's submission of Generalized Arithmetic Progression Free Sequence | CodeChef