Problem 92

Currently slow takes 22 sec to complete.