Task: Program Execution
Input (English): 2, 5, ['5361', 'G', '9557', '9871', '1873', '2759', 'r', 'o', '785', '2279']
Output (English): G, r