Removed the println calls from the Problem166 class.