def generate_integers(a, b):
    lower = max(2, min(a, b))
    upper = min(8, max(a, b))
    return [i for i in range(lower, upper+1) if i % 2 == 0]
def generate_integers(m, b):
    lower = max(2, min(m, b))
    upper = min(8, max(m, b))
   
    return [i for i in range(lower, upper + 1) if i % 2 == 0]