Task: Program Execution
Input (English): S, V, 6213, n, f, 3195, K, 1507, Q, n, Z, 545, u, i, G
Output (English): 3, 6, 8, 12