Task: Program Execution
Input (English): U, v, upwards, B
Output (English): UvupwardsB