The school production of "Our Town' was a big success. For opening night, 498 tickets were sold. Students paid $4.00 each, while non-students paid $6.00 each. If a total of $2326.00 was collected, how many students and how many non-students attended?