Using function composition to print the results as well.