Task: Program Execution
Input (English): q, W, Q, 6079, 7657, F, S, q, 9085, 5529, F, N
Output (English): 4