Task: Program Execution
Input (English): 1, 1, ['2965', '1767', '9835']
Output (English): 2965, 1767, 9835