If f(x) = cos[π^2]x + cos[-π^2]x, where [x] denotes the greatest integer less than or equal to x, then write the value of f(π).