Task: Program Execution
Input (English): w, 1983, n, 5777, j, 7115, 8133, 5445, 1471, 5209, 7553, 2257, u, C, 6427, O, k, 6903
Output (English): 7