Task: Program Execution
Input (English): 6401 4201 B 8457 Y V 9511 23 1953 q v 693 M 8041 T 8851 y S 1151 E M 9363 9893 7397 j 2707 M 7097 6211 J 381 m 5341 b 415 7573 J 219 I D
Output (English): 3, 5, 6, 10, 11, 13, 15, 17, 18, 20, 21, 25, 27, 30, 32, 34, 37, 39, 40