Task: Program Execution
Input (English): Y, 5783, 2371, 8505, g, 3997, 2995, U, T, 6853, V, 613, R, 4469, L
Output (English): 2, 3, 4, 6, 7, 10, 12, 14