Dino travels to China (the Coronavirus was not yet spread there) and sees 10^9 buildings there. The height of the first building is , the second building has the height 1 + 2, the third one is 1 + 2 + 3, etc. The height of the last building is 1 + 2 + 3 + \ldots + 10^9 (all heights are given in meters).
After a day, Dino fell asleep and saw an interesting view in the morning: it snowed at night and the height of all buildings increased equally! Dino wants to know how many meters of snow fell. To do this, he went to two neighboring buildings (for example, -rd and -th) and measured their new heights. Determine how many meters of snow fell if the heights of these buildings are and meters, respectively.
Two integers and (a \le b) are given. It is guaranteed that the correct answer always exists, and the height of the fallen snow is no more than 10^9 meters.
Print the height of the fallen snow.
Example 1