#P4035. Coin Collecting

Coin Collecting

Description

Input

Output

Source