Task: Program Execution
Input (English): z, N, 8545, 6453, 4897, 9905, J, Z, g, h, 3709, 645, V, 5257, 4117, 3613, 4583
Output (English): 1, 2, 7, 8, 9, 10, 13