Task: Program Execution
Input (English): f, g, 2503, 5301, V, B, 5109, v
Output (English): f, g, V, B, v, 2503, 5301, 5109