Task: Program Execution
Input (English): a y 443 1385 947 1689 4791 7729 7569 1067 1215 N 5723 N S P 2421 143 a 2829 T y a s 9923
Output (English): 3, 4, 5, 6, 7, 8, 9, 10, 11, 13, 17, 18, 20, 25