Task: Program Execution
Input (English): 3, 5, ['c', 'w', '3627', '6739', 'y']
Output (English): 10366