The range of function f(x) = [|sin x| + |cos x|], where [.] denotes the gretest integer function, is
A. {0, 1}
B. {1}
C. {0}
D. None of these