Task: Program Execution
Input (English): P z 3811 5301 P 8327 p 1083 d 3281 6405 8145 3453 Y 2635 6893 2975 K 4787 F 2767 G 3831 2477 4473 D 4987 r 8777
Output (English): 3, 4, 6, 8, 10, 11, 12, 13, 15, 16, 17, 19, 21, 23, 24, 25, 27, 29