Task: Program Execution
Input (English): K, 6471, 8183, n, u, 2959, 9219, 4165, 6671, 4967, w, w, X, 8801, 7225, 4853, 6377, S, 9353, h
Output (English): 1, 4, 5, 11, 12, 13, 18, 20