if i have 18527 cookies and i have 3 friends how can i divide them equally?

I don't intend for this to be a "funny" answer, but you can eat 2 of the cookies yourself which will leave 18,527-2 = 18,525 and divide that number by 3.

18525/3 = 6175 cookies for each of three people. It's unclear in the problem if you are to divide the cookies three ways (leaving you out) or four ways to include yourself. I have divided it three ways.