Task: Program Execution
Input (English): J 3345 2397 2697 4973 q B e 9439 7059 2083 K 3191 M H y Z x 2921 H K d 9871 e W 9623 p 6671 A 6125 M V 7189 y p 4453 9977 o 7925
Output (English): 2, 3, 4, 5, 9, 10, 11, 13, 19, 23, 26, 28, 30, 33, 36, 37, 39