Shorter solution.