Task: Program Execution
Input (English): 8771 61 9981 U u H 6659 x R Q 1417 p 6221 4377 1507 L a 3243 4317 695 4513 2819 6599 h 9601 7393 C O 6015 9925 8693 6875 7509 2103 e e 4707 R 8665
Output (English): 8771, 61, 9981, 21, 21, 8, 6659, 24, 18, 17, 1417, 16, 6221, 4377, 1507, 12, 1, 3243, 4317, 695, 4513, 2819, 6599, 8, 9601, 7393, 3, 15, 6015, 9925, 8693, 6875, 7509, 2103, 5, 5, 4707, 18, 8665