Task: Program Execution
Input (English): G, 273, 6625, 9775, 1601, N, Y, w, 397, h, i, M, 1199, 2061, 465, g, k, k, q, M
Output (English): 12