Task: Program Execution
Input (English): 7, 10, ['8225', 'L', '7253', '4215', 'p', 'J', '5351', 'N', 'o', 'D', '7397', '747', 'n', '6299']
Output (English): DoN5351