Task: Program Execution
Input (English): 3, 12, ['7561', '6247', '8661', '8973', 'S', 'M', '8431', 'J', '7231', '8295', 'i', 'B', '8223', 'f', 'd', '1203', 'W', 'e', '9177', '8665', 'M', 'w', 'U', '2787', '4757', '3837', '4841']
Output (English): 8661, d, 4841