Task: Program Execution
Input (English): p x y r 6937 S 9637 9471 q 7851 x 4317 f 847 l 2207 u c z 3879 b 771 X 4425 3123 z 8043
Output (English): 1, 2, 3, 4, 6, 9, 11, 13, 15, 17, 18, 19, 21, 23, 26