The first line of the input contains three space-separated integers $N$, $V_{max}$ and $V_2$ $(0 \le V_2 \le V_{max} )$. Each of the next $N$ lines contains a description of one key in the sequence: a character + or -, a space and an integer $C_i$ $(0 \le C_i \le 2 \cdot 10^9 )$, the number of seconds from the beginning of the experiment. You may assume that the keypresses are in sorted order and that all times are distinct (i.e., $C_i < C_{i + 1}$ for all $1 \le i < N$).