Task: Program Execution
Input (English): 6885 3197 P 4961 E 6875 629 1341 445 5623 c e 7935 c m A p 8247 9555 B P v 6885 3569 j q 1125 T 6963
Output (English): 1, 2, 4, 6, 7, 8, 9, 10, 13, 18, 19, 23, 24, 27, 29