Cut 'em all!

Problem Name:
Cut 'em all!
Site:CodeForces
Links:
Tags:
Problem setters: