Captain Flint and Crew Recruitment

Problem Name:
Captain Flint and Crew Recruitment
Site:CodeForces
Links:
Tags: