Task: Program Execution
Input (English): V X B s 3253 v w s V 4691 f 7563 7561 2865 o 6967 7049 1551 3125 9271 8037 1951 6255 P 7179 4707 4205 4293 M 4529 H E 897 x t 8521 7167 2149 Q
Output (English): 1, 2, 3, 4, 6, 7, 8, 9, 11, 15, 24, 29, 31, 32, 34, 35, 39