How would you handle a coding interview where you must learn a proprietary language on the fly?
Implement an interpreter for the language specified below, using the syntax rules provided during the interview. Each program is a list of valid command strings.
The function receives program, a list of strings, and returns the integer values produced by PRINT commands in order. Supported commands are SET name operand, ADD name operand, MUL name operand, SWAP name1 name2, and PRINT name. An operand is either an integer literal or the name of an initialized variable.
def execute_program(program):