def answer(L, R):
    # L and 2*L always works since lcm(L, 2*L) = 2*L
    # We need 2*L <= R
    if 2 * L <= R:
        return [L, 2 * L]
    return []