A gym membership costs $40 per month plus a one time sign up fee of $20. How many months would it take to spend $1000 for the gym membership?