Task: Program Execution
Input (English): 8, 10, ['a', 'v', '3951', '6215', '9509', '521', 'i', 'S', 'g', 'q', 'Y', '9637', '9515', 'm']
Output (English): q, g, S