Task: Program Execution
Input (English): 3, 7, ['1157', 'o', 'G', '6049', '3957', 'j', 'g', '4231', 'h', 'T', '4261', '3175', 'Z', 'r', '1429', 'd']
Output (English): G, T