BoB005-F: Power of 2 Battle

2 secs 1024 MB
kyaneko999's icon kyaneko999

testcase-6.txt


入力

出力