Task: Program Execution
Input (English): v 7795 R 2927 7829 H 8775 X S 1927 2887 k 6941 7439 6045 9791 8011 5761 f 6591 5175 s r I d k 8885 1253 5809 l 5943 4981 P s Q
Output (English): 2, 4, 5, 7, 10, 11, 13, 14, 15, 16, 17, 18, 20, 21, 27, 28, 29, 31, 32