Task: Program Execution
Input (English): 1, 3, ['Y', 'D', '2753', '6735', '6243', '729']
Output (English): Y, 6735