I ran into problem from "Putnam and Beyond" from section about Pigeonhole principle. I was thinking about that problem few hours but unfortunately i was not able to solve it. Also I have found the duplication of this topic but it did not help me since solutions are not quite detailed.
Given $50$ distinct positive integers strictly less than $100$, prove that some two of them sum to $99$.
My efforts: Let $S=\{x_1,x_2,\dots,x_{50}\}\subset \{1,2,\dots, 99\}$ and $x_i+x_j=99$ iff $(x_i,x_j)\in \{(1,98),(2,97),\dots,(49,50)\}$. Here we have $49$ pairs of numbers such that their sum is $99$.
1) What here should be boxes and pigeons?
2) And how to use that all 50 distinct positive integers are strictly less than 100?
Hint:
We divide the positive integers into pairs like: $$\{1,98\}, \{2,97\}, \ldots \{49,50\}$$
These are our $49$ boxes, and as you can see, that if we pick any fifty integers (pigeons), by the pigeonhole principle, we have to pick two integers from the same pair, thus, two numbers sum to $99$.
P.S. It doesn’t make any sense to count 99 as well.