Вопросы к Поиску с Алисой
c = input().split(' ') for i in c: if int(i) == 237: break elif int(i) % 2 == 0: print(i)