Task: Program Execution
Input (English): 2, 9, ['397', 'a', 'H', 'X', '2561', 'N', '7639', '683', '6201', 'M', 'H', '9477', '5153', '4671', '4943', 'Y', 'm', '185', 'k', 'D']
Output (English): a, H, D