#3356. [Violet 2]After 17

[Violet 2]After 17

Description

Format

Input

Output

Samples

4
4 5
1 2
3 3
4 1
-38.00

Limitation