Task: Program Execution
Input (English): A, 3751, T, 5583, 7521, r, 837
Output (English): 3