Task: Program Execution
Input (English): m, 7843, P, 9855, R, y, 1107, d, 8171, e, a, 1509, y, O
Output (English): 1, 3, 5, 6, 8, 10, 11, 13, 14