Task: Program Execution
Input (English): O 8163 J 4527 8983 5985 7391 6345 4717 A z 2519 731 6887 335 A s 9713 3097 2933 2743 S 2197 R 9895 Q
Output (English): 15, 8163, 10, 4527, 8983, 5985, 7391, 6345, 4717, 1, 26, 2519, 731, 6887, 335, 1, 19, 9713, 3097, 2933, 2743, 19, 2197, 18, 9895, 17