Task: Program Execution
Input (English): 3187 S 6353 3253 m A I 8791 t 7089 6013 v K 5275 4747 R V 9127 n 449 k 8891 6743 5339 T 809 6695 9357 9453 8983 6949 3763 T a 8607 3443 t E 3651 H
Output (English): 1, 3, 4, 8, 10, 11, 14, 15, 18, 20, 22, 23, 24, 26, 27, 28, 29, 30, 31, 32, 35, 36, 39