Task: Program Execution
Input (English): 6515, 8007, 513, 5105, 6343, A, 4771, 5569, 7173, D, 3211, W, L
Output (English): 4