Task: Program Execution
Input (English): 5085, 8005, B, Y, 3657, 9881, 6443, 2059, q, m, 1491, N, 4651, 637, 351, P, 9137, 8191, 8865, 8391
Output (English): 5085, 8005, 2, 25, 3657, 9881, 6443, 2059, 17, 13, 1491, 14, 4651, 637, 351, 16, 9137, 8191, 8865, 8391