Task: Program Execution
Input (English): V, g, 2681, 6267, 1975, 2363, T, v, 2273, V, 6453, 6821, 2135, U, H, 2053, 3291, p, M, B, 8191
Output (English): 1, 2, 7, 8, 10, 14, 15, 18, 19, 20