Archery solution HackerRank. work in progress