deliberation
deliberation: The act of deeply thinking about a way to solve something, or the thought.
궁리 끝.
궁리가 떠오르다.