Solution to Riot Games front end test.