{SOLVED} Prime Pathing [HELP!] Language: Javascript or Python (either is fine)

I need help on something else: Sarven Brawl 4 help! {Python}