Problem 6, Version 2