Task: Program Execution
Input (English): Q, A, filial,, U, V, my, g
Output (English): QAfilial,UVmyg