Task: Program Execution
Input (English): 1, 8, ['1161', '4299', 'A', '7497', 'm', '1181', 'f', '4553', '3063', 'i', 'S', '8233', 't', '3957', 'K', '1363', '861', 'E', '3']
Output (English): 1161, 3063, 861