Task: Program Execution
Input (English): 3, 7, ['z', 'N', 'j', 'V', 'J', '1785', 'b', 'r', '1123', '8729', '307', '2257', 'm', '9979', 's', 'p', 'Q']
Output (English): j, 8729, Q