Task: Program Execution
Input (English): V, S, i, g, 9667, 1271, 9327, 2915, 5993, f, d, 3347, a, 27, 8721, 4855, M, 9401, 8797, K, 8609
Output (English): 12