Task: Program Execution
Input (English): 1, 7, ['3047', '4701', 'B', 'j', 'w', 'c', 'M']
Output (English): M, c, w, j, B, 4701, 3047