Find the number closest to the checksum of given numbers

You are given a set of unsigned integers. You need to find the number closest (min of absolute difference) to the checksum of all the given numbers