f(x) is defined as the least integer greater than x for all odd values of x, and the greatest integer less than x for all even values of x. What is f(3.5)?
A) 4
B) 3
C) 2
D) 1