Create a program for generating 10 random numbers. Find the counter of positive numbers divided in 3 and 7. Make function for generating, printing and finding the counter.