Task: Program Execution
Input (English): 4417, 2625, k, 3687, 2327, 1335, l, d, 153, 1387, 593, h, m, A, 4809, n, 6945, X
Output (English): 10