Task: Program Execution
Input (English): t, 3145, K, 7155, U, K, 1967, x, 1881, K, P, I, p, k, h, g, 3769, 1489, 2653, 4123, 5885, S
Output (English): 1, 3, 5, 6, 8, 10, 11, 12, 13, 14, 15, 16, 22