Task: Program Execution
Input (English): j 6441 6771 w e 9633 8727 B 1365 6293 A 5931 r 9369 6895 c A 2891 B 1985 2335 3945 8469 u K q 4619 8915 Q 4895 b B
Output (English): 10, 6441, 6771, 23, 5, 9633, 8727, 2, 1365, 6293, 1, 5931, 18, 9369, 6895, 3, 1, 2891, 2, 1985, 2335, 3945, 8469, 21, 11, 17, 4619, 8915, 17, 4895, 2, 2