Task: Program Execution
Input (English): 3105, 3587, P, 2041, 2595, L, v, n, c, o, e, 4913, S, 8583, P
Output (English): 3, 6, 7, 8, 9, 10, 11, 13, 15