Task: Program Execution
Input (English): h, w, 9761, T, 3349, O, 31, 1373, n, l, c, 3615, c, 5673, 5745, 6741, V, 4035, 3203, 5569, 8667, k, Y, 5373
Output (English): 8, 23, 9761, 20, 3349, 15, 31, 1373, 14, 12, 3, 3615, 3, 5673, 5745, 6741, 22, 4035, 3203, 5569, 8667, 11, 25, 5373