Task: Program Execution
Input (English): letter-bag;
i
a
g
g
one;
J
Output (English): letter-bag;iaggone;J