D1 - Dual Friendship [Easy]

2 secs 1024 MB
uni_kakurenbo's icon uni_kakurenbo

testcase-52


入力

出力