Task: Program Execution
Input (English): P, w, 997, 3151, 2945, A, 2983, y, 7773, v, e, Z, 4045, 5311, 5217, A
Output (English): 8