Task: Program Execution
Input (English): e 7847 X 3405 3103 D h F G 5053 B 9071 w 4995 W f M 2637 l F d 1039 O 7541 j
Output (English): 2, 4, 5, 10, 12, 14, 18, 22, 24