Task: Program Execution
Input (English): 2407, 8795, 23, N, C, 3061, i, 4505, G
Output (English): 4