Solved Euler 41