Task: Program Execution
Input (English): 3, 7, ['3561', 'g', 'W', 'z', '1161', 'r', 'k']
Output (English): 1161