Task: Program Execution
Input (English): Y W 533 8011 Z 6739 4659 M 4143 Y 8095 805 1871 1991 U F Z x 7053 S 1111 9237 x 4165 n g 4331 t d 2203 n h h 603 2669 D 867 X S p
Output (English): 3, 4, 6, 7, 9, 11, 12, 13, 14, 19, 21, 22, 24, 27, 30, 34, 35, 37