Task: Program Execution
Input (English): 585 6535 H Z M 1765 X c A 3449 6395 N 8813 1861 c N m l 6313 t q 8585 o 973 6605
Output (English): 3, 4, 5, 7, 8, 9, 12, 15, 16, 17, 18, 20, 21, 23