Task: Program Execution
Input (English): 4245 571 q 3809 v 2481 N N 4361 3775 D 913 1423 B 2869 3965 g L 7401 h 7899 5849 135 Q c 3839 X z 6967 D 4639 347 E 1897
Output (English): 4245, 571, 17, 3809, 22, 2481, 14, 14, 4361, 3775, 4, 913, 1423, 2, 2869, 3965, 7, 12, 7401, 8, 7899, 5849, 135, 17, 3, 3839, 24, 26, 6967, 4, 4639, 347, 5, 1897