Task: Program Execution
Input (English): 509, 7583, 2381, a, 5917, 1041, 8937, y, 1667, 2189, 5915, e, k, i, e, P, Y, 249
Output (English): 1, 2, 3, 5, 6, 7, 9, 10, 11, 18