Task: Program Execution
Input (English): 213, 321, z
Output (English): 1, 2, 3