Task: Program Execution
Input (English): 7, 11, ['X', '6363', '3863', 'Y', '6517', '6195', '873', '7943', 'M', 'r', 'V', '6505', 'H', '2963', 'N', 'S', '4289']
Output (English): 873, 7943, M, r, V