Codeforces #215: Sereja and Coat Rack