Let $a_1,a_2,…,a_n$ be distinct positive integers and let $M$ be a set of $n−1$ positive integers not containing $s=a_1+a_2+…+a_n$. A grasshopper is to jump along the real axis, starting at the point $0$ and making $n$ jumps to the right with lengths $a_1,a_2,…,a_n$, in some order. Prove that the order can be chosen in such a way that the grasshopper never lands on any point in $M$.
It's pretty intuitive, and I've tried proving it by induction but to no avail. Can someone please give me a hint (or post the answer if they'd like, I don't mind)?
This is worth thinking about yourself until you drive yourself mad - that's how I learned to solve such things. It was found difficult in the original Olympiad when it was set, but involves nothing really complicated.
For a hint: