Bear and Big Brother

CodeForces - 791A