Task: Program Execution
Input (English): 3, 4, ['g', 'h', '1357', '7189']
Output (English): 1357, 7189