Task: Program Execution
Input (English): Z, 3247, M, 21, g, 4003, v, e, C, J, L, 6071, W, 5057, k, i, d, V
Output (English): 2, 4, 6, 12, 14