def parse_instruction(line):
    """Parse line to tuple with instruction name and parameters list."""
    name, *params = line.split()
    return (name, [param if param.isalpha() else int(param)
                   for param in params])