Task: Program Execution
Input (English): 5, 10, ['3519', 'h', '3141', 'G', 'q', '7191', '3949', '7861', '5787', '1427', 'U', 'H', 'K', '3627', 'P', 'Y', 'a', 'D', '6567', 'm', 'q', '945', 'r', 'f', 'J', '911', 'j', '8375', '4413']
Output (English): q, P, J