Icon
 

Chips on the Board Codeforces 1879B Solution