from typing import Dict
from typing import List


def restore_program(memory_updates: Dict[int, int], memory: List[int]) -> List[int]:
    """
    Sets input parameters of program

    Args:
        memory_updates: A map of which places to update in memory
        memory: The RAM module to perform the updates in
    """
    for (index, new_value) in memory_updates.items():
        memory[index] = new_value
    return memory