Task: Program Execution
Input (English): 2, 8, ['Y', '2993', '8431', '9343', '9825', '9251', '5601', '7995']
Output (English): 2993, 8431, 9343, 9825, 9251, 5601, 7995