Dad's solution
319