Task: Program Execution
Input (English): 1, 5, ['5977', 'n', '1523', '7433', '4337', 'B', 'm', 'a', '5705', 'U', 'B', '3779', '7399', '2367', '593', '2253', '6297', '1649', 'p', '6979']
Output (English): 5977, B, B, 2253