Define F(N) = Min ((N- floor(N)), (ceil(N) – N))

Given that:

M miles = N kilometers, where M is a positive integer ≤ 2016 and N is a real number.

(I) Determine the value of M that yields the smallest value of F(N)

(II) What is the value of M yielding the next smallest value of F(N))?