Task: Program Execution
Input (English): 3953, V, H, 3377, H, t, 7109, 1701, 1289, 3269, 9231, c, 6485, Z
Output (English): 3953, 3377, 7109, 1701, 1289, 3269, 9231, 6485