Coin Purse Design

2 secs 1024 MB
ocv_contest's icon ocv_contest

testcase-2.txt


入力

出力