Solution For The Problem