The integers 1-40 are written on a blackboard. The following operation is then repeated 39 times. In each repetition, any pair of numbers (say a and b) are erased and a new number (a + b – 1) is written in its place. What will be the number left on the board at the end?