Task: Program Execution
Input (English): K, 5393, 7553, 227, 2295, 369, 1863, 3977, N, 7343, K, S, P, 7755, s, A, 9775
Output (English): 1, 9, 11, 12, 13, 15, 16