Task: Program Execution
Input (English): 3, 4, ['3341', '6535', '5143', 'F', '3341']
Output (English): F3415