Sergey Kulik's submission of Longest Arithmetic Progressions | CodeChef