For one month you need to gather the successful numbers that have one from two lotto games. The games of…