Task: Program Execution
Input (English): 2, 4, ['J', 'P', '2655', 'k', '7803', '9175', 'N']
Output (English): k2655P