Laboratory Work

CodeForces - 931C