Task: Program Execution
Input (English): J 2071 7307 5775 k s E 223 1557 s 1941 1971 8725 N 5001 6289 3685 a j Y 8991 9597 9641 6247 f Q
Output (English): 2, 3, 4, 8, 9, 11, 12, 13, 15, 16, 17, 21, 22, 23, 24