Problem

Source: Tournament of towns 2018 Spring A-level P1

Tags: combinatorics



Thirty nine nonzero numbers are written in a row. The sum of any two neighbouring numbers is positive, while the sum of all the numbers is negative. Is the product of all these numbers negative or positive? (4 points) Boris Frenkin