Task: Program Execution
Input (English): P 5889 5253 w 7915 t o Q 285 q o f 5457 e H 147 9201 2503 3599 2141 5641 J 7301 5679 V V 1835
Output (English): 2, 3, 5, 9, 13, 16, 17, 18, 19, 20, 21, 23, 24, 27