10505

Problem ID: 10505

Don't assume that the number of enemies is always less than N.