Task: Program Execution
Input (English): g, 3051, 9041, 3085, 4145, T, B, 9687, l, 7313, V, i, 4019
Output (English): g, T, B, l, V, i