!! extreme hardcode !!!
main your goal is not just output enemy names in correct order
it is to determine name of the closest enemy and only then output it
you are given two pairs of data, that means you are given two enemies on every step, and about every enemy given you know it's name and distance to it
so you can not just hardcode 16 or more steps forward, you need to read all the given data, compare distances on every step