10400

Problem ID: 10400

Check out Jim's Programming Blog to read more on solving this problem.