First try dota2 hackerrank stuff