It would be better if you clearly explain the idea, so that an appropriate logic can be built