#P4046. Sightseeing

Sightseeing

Description

Input

Output

Source