Another solution, note python is fairly common