logpuzzle part c