Task: Program Execution
Input (English): 5739, 7907, J, 7405, 3169, 3387, 1351, 6109, 747, p, 1673, v, 4393, 783, e, 6007, 6933
Output (English): 1, 2, 4, 5, 6, 7, 8, 9, 11, 13, 14, 16, 17