Copyright © University of Cambridge. All rights reserved.
'Four-digit Targets' printed from http://nrich.maths.org/
You have two sets of the digits from $0$ to $9$.
The idea is to arrange these digits in the five boxes to make
four-digit numbers as close to the target number as possible.
You may use each digit once only.
This problem is
based on a game published by BEAM as one of their Maths of the Months
activities. You can play it
as a game against a friend using this
sheet from BEAM.