Task: Program Execution
Input (English): s r 309 P P 247 E J 6667 W E 4393 1625 P p I C 6117 8869 5513 6001 5793 7721 393 C 1089 h 3155 c E 4951
Output (English): 1, 2, 4, 5, 7, 8, 10, 11, 14, 15, 16, 17, 25, 27, 29, 30