Task: Program Execution
Input (English): K, W, f, k, T, 7903, s, 6729, 6111, W, 6207, d, 5123, 3793, J, 3743, 7703, C, 759
Output (English): 1, 2, 3, 4, 5, 7, 10, 12, 15, 18