Fast-Slow-Thinking: Complex Task Solving with Large Language Models