Task: Program Execution
Input (English): 4387, m, x, X, 7245, C, 2435, a, 5521, 2085, l, q, 2889, x, W, b, y, W, N, G, 893, 3961, b, 4335
Output (English): 15