Task: Program Execution
Input (English): R 5165 z K t 2937 Z 59 2255 C 5961 S H c 3429 6339 4795 6883 5499 X 5263 8937 b 9349 R t 5779 G B g 5131
Output (English): 2, 6, 8, 9, 11, 15, 16, 17, 18, 19, 21, 22, 24, 27, 31