Task: Program Execution
Input (English): 4, 9, ['p', '1391', 'd', 'W', 'c', '5819', '7515', '3959', '5399', '1729', 'X', 'S', '8185', '6351', '8303', '7143', '8489', 'r', 'y', 'm', '2891', 'z', 'J', 'v', 'Y', 'Z']
Output (English): W, 8185, z