Task: Program Execution
Input (English): w 7941 I H h 2877 795 J 391 6437 P W J e C L A 8121 1697 R 3199 9749 1613 V T X
Output (English): 2, 6, 7, 9, 10, 18, 19, 21, 22, 23