Task: Program Execution
Input (English): 4991, 2205, Z, W, Y, A, N, 5127, p, 5617, 3335, 171, 4217
Output (English): 7