Task: Program Execution
Input (English): 2, 4, ['961', '6299', 'p', '9389', '4907']
Output (English): 6299p9389