#3384. [Violet 3]交替和

[Violet 3]交替和

Description

Format

Input

Output

Samples

2 239
-42

Limitation