Task: Program Execution
Input (English): 5119 S T a B 8211 O 9609 s 59 E 6595 3937 1391 3541 785 3319 1657 I K 4961 2021 2839 A 7405 2297 4895
Output (English): 2, 3, 4, 5, 7, 9, 11, 19, 20, 24