Task: Program Execution
Input (English): P J v 299 9361 7863 3561 z 201 3627 2705 7533 W U 8413 7457 W 6437 1341 3565 3645 I I V u 867 6549 y 37 T X 4513 1389 K 275 Z w 3715 p
Output (English): 1, 2, 3, 8, 13, 14, 17, 22, 23, 24, 25, 28, 30, 31, 34, 36, 37, 39