Task: Program Execution
Input (English): N, b, J, u, 5277, 7065, k, 6231, z, d, 1195
Output (English): 14, 2, 10, 21, 5277, 7065, 11, 6231, 26, 4, 1195