Coin Purse Design

2 secs 1024 MB
ocv_contest's icon ocv_contest

testcase-8.txt


入力

出力