Task: Program Execution
Input (English): Q I 6789 9869 N 7721 g 4585 4949 1185 1897 139 S 4519 8105 n 4925 7335 6037 s c 4333 7015 j O 2599 C X 3751 5491 7269 R 3687 j 5883 1599
Output (English): 1, 2, 5, 7, 13, 16, 20, 21, 24, 25, 27, 28, 32, 34