Task: Program Execution
Input (English): i, 1075, r, 4813, N, Z, 6071, 1829, h, 2477
Output (English): 9, 1075, 18, 4813, 14, 26, 6071, 1829, 8, 2477