Task: Program Execution
Input (English): J 907 I 4265 4705 7213 Y 2879 8239 M 8639 y L 7705 3635 9393 j 1169 r F 9651 3893 V a c 8593 6539 5187 O 7995 4607 I 2671 3 8057 A N C u 4659
Output (English): 1, 3, 7, 10, 12, 13, 17, 19, 20, 23, 24, 25, 29, 32, 36, 37, 38, 39