def instr_to_intcode(instructions):
    """
    Takes a string of instructions written in ASCII and converts them to integers
    for using as input for the intcode program.
    """
    
    output = []
    
    for char in instructions:
        output.append(ord(char))
        
    output.append(ord('\n'))
    
    return output