Task: Program Execution
Input (English): 1771, p, M, 1041, F, 2895, 3461, C, 7363, 233, e, 291, t, O, 4005, 6891, W, 1953
Output (English): 1, 4, 6, 7, 9, 10, 12, 15, 16, 18