[tex]x-\ adult\ ticket\\ y-\ children\ ticket\\\\ \left \{ {{12x+5y=3665} \atop {x+y=460\ \ | subtract\ y}} \right. \\\\ \left \{ {{12x+5y=3665} \atop {x=460-y}} \right. \\\\
12(460-y)+5y=3665\\\\
5520-12y+5y=3665\\\\
5520-7y=3665\ \ \ | subtract\ 5520\\\\
-7y=-1855\ \ \ | divide\ by\ -7\\\\
y=265\\\\
x=460-225=235\\\
There\ were\ 235\ adult\ tickets\ and\ 265\ children\ tickets.[/tex]