Task: Program Execution
Input (English): 1795 T a H 9335 1591 G d O 9877 6467 R d 6417 2957 8941 d V 3935 5783 6473 7095 8963 5827 1229 9067 6593 351 3989 A h k k P 8613 I 2089 U U
Output (English): 1795, 20, 1, 8, 9335, 1591, 7, 4, 15, 9877, 6467, 18, 4, 6417, 2957, 8941, 4, 22, 3935, 5783, 6473, 7095, 8963, 5827, 1229, 9067, 6593, 351, 3989, 1, 8, 11, 11, 16, 8613, 9, 2089, 21, 21