Solve three problems.