Task: Program Execution
Input (English): 1181, H, 665, 2291, 3149, 9101, V, T, g, 1251, A, 1351, b, 6915, A, p
Output (English): H, V, T, g, A, b, A, p