Task: Program Execution
Input (English): 3577, z, N, c, q, 9687
Output (English): 3577, 26, 14, 3, 17, 9687