Task: Program Execution
Input (English): 5491 x 3959 4913 4775 2661 r T q 5437 3997 X 4333 1815 5601 w L 4739 1111 g 6525 c 2109 g 5451 C n 8683 v 6109 7343 X 3023 v v 9709 4835 5463
Output (English): 5491, 24, 3959, 4913, 4775, 2661, 18, 20, 17, 5437, 3997, 24, 4333, 1815, 5601, 23, 12, 4739, 1111, 7, 6525, 3, 2109, 7, 5451, 3, 14, 8683, 22, 6109, 7343, 24, 3023, 22, 22, 9709, 4835, 5463