Task: Program Execution
Input (English): Y 4527 v w x 2301 5065 2305 2863 m 7343 4961 6701 9903 l 4855 1689 2113 8441 h L m n X 4543
Output (English): 25, 4527, 22, 23, 24, 2301, 5065, 2305, 2863, 13, 7343, 4961, 6701, 9903, 12, 4855, 1689, 2113, 8441, 8, 12, 13, 14, 24, 4543