Added example ranged solution.