Training the army

Problem Name:
Training the army
Site:HackerRank
Links:
Tags:
Problem setters: