import re


def parse_assignment_line(line):
    """Parse assignment line.

    >>>mem[42] = 100
    [42, 100]
    """
    return [
        int(num)
        for num in re.findall(r'\w+\[(\d+)\] = (\d+)', line)[0]
    ]