At a school cafeteria a cold lunch costs $1.80$,andahotlunchcosts$3.00$. During one school year a teacher spenta total of $\$288.60$ on cold lunches and hot lunches. The number of cold lunches the teacher bought was 1 fewer than twice the number of hot lunches the teacher bought. How many lunches of each type were bought?