InterviewBit Problems   Ticket Game : Solved