Task: Program Execution
Input (English): B Q 9129 9777 R k C 6583 1043 h 2405 K 4897 X 5163 L 6871 c V k W 6287 d d T
Output (English): 1, 2, 5, 6, 7, 10, 12, 14, 16, 18, 19, 20, 21, 23, 24, 25