def div_of_nums(nums,m,n):
 
 result = list(filter(lambda x: (x % m == 0 or x % n == 0), nums)) 
 return result
def is_not_prime(n):
    import math
    
    result = False
    for i in range(2,int(math.sqrt(n)) + 1):
        if n % i == 0:
            result = True
    return result