FOR GETTING YOUR REQUIRED OUTPUT