Task: Program Execution
Input (English): Y, C, 3165, 5747, 7901, K, K, H, 1841, R, 3757, 8431, 7335, i, 873, P, 5599, 265, f, 6833, 3035, 4551, 8479, W
Output (English): 1, 2, 6, 7, 8, 10, 14, 16, 19, 24