To format the given string
To print console log messages.
To use basic statistics functions to calculation