Task: Program Execution
Input (English): b 3655 g O G 5345 8885 2487 7557 4775 9587 9001 R V 7845 x 7679 3139 4835 1391 y Y U X 6611 a 5593 f 9081 8285 6967 1275 8011 Q w f o w 2541 F
Output (English): 1, 3, 4, 5, 13, 14, 16, 21, 22, 23, 24, 26, 28, 34, 35, 36, 37, 38, 40