What would be the big-theta notation for the total running for the program as a function (as simplified as possible) of n :
q,s