Task: Program Execution
Input (English): 7255, n, 2181, O, 1913, 1351, h, s, Q, 561, o, 6773, w, 5659, q, x, 6967, 8323, W, 915, 9169, k, P, 4361
Output (English): 12