Task: Program Execution
Input (English): 2953 B X u 4125 i L w 7977 1955 5201 A 3071 3507 M L v 6409 1863 9095 q 8633 l x l 8011 8019 s 5727 k 3913 A 5561 K 7075 T
Output (English): 1, 5, 9, 10, 11, 13, 14, 18, 19, 20, 22, 26, 27, 29, 31, 33, 35