Task: Program Execution
Input (English): 2, 3, ['1503', 'v', 'h']
Output (English): hv