Task: Program Execution
Input (English): K, 5875, Z, 7503, q, t, c, G, 2819, 6479
Output (English): 4