from typing import Deque


def divide_bulk(files: Deque, sub: Deque, num: int) -> None:
    """Appends num elements from files to sub. Returns None."""
    divided = 0
    for x in range(num):
        sub.append(files.pop())
        divided += 1
    return None