Design Tutorial: Make It Nondeterministic

CodeForces - 472C