Task: Program Execution
Input (English): 3, 6, ['H', 'M', 'S', 'V', '7669', 'k', 'x', '3323', '5771', 'K', '8223', 'm', '4627', '8861', 'H']
Output (English): S, 5771, H