Task: Program Execution
Input (English): 7761, 849, 779, 6527, L, P, R, S, 9387, J, 3253, 2487, 9875, 2123, 7167, g, 3715, 4631, z, 2723, 1919
Output (English): 5, 6, 7, 8, 10, 16, 19