There where 36 cookies on the table. 18 of the cookies got on them and were thrown out 9 cookies were eaten. How many cookies are still on the table