BoB005-D: Doremi-Sorasido

2 secs 1024 MB
kyaneko999's icon kyaneko999

samplecase-3.txt


入力

出力