InterviewBit Problems   Find nth Magic Number : Solved