**CODE BELOW**
-
As you will note that the document says, do not modify the mainfunction, as it has been written in a way to demonstrate certainaspects of computing
-
You are tasked with implementing function1 and function2
-
Both of the functions are essentially arbitrary, so you willneed to make sure you follow the directions carefully
-
-
For implementing both of the functions, you need to do thefollowing:
-
The n input is the number of iterations that you need to run theoperations for (you will need a for loop that runs niterations.
-
On each iteration you will need to do the following inorder
OROR
-