Which of the following is an example of a fruitful function?
A function that prints a message.
A function that calculates and returns the sum of two numbers.