Let the function f(x) be defined as follows:
$$ f(x) = x^3 - 3x + 1 $$
Now, evaluate the following quantities:
Quantity A: $$ f(1) $$
Quantity B: $$ f(-1) $$