Task: Program Execution
Input (English): e, g, 3821, 2143, M, 7197, 311, 477, 9505, d, b, 5737, f, 2483, 4757, c, E, n
Output (English): 1, 2, 5, 10, 11, 13, 16, 17, 18