Problem 171 Answer

The answer is 46.

Michael Shackleford, A.S.A.