Mr. Sanchez’s class sold fruit pies for $1.89 each and Mr. Kelly’s class sold bottles of fruit juice for $1.56 each. Together, the classes sold 82 items and earned $140.13 for their school. Write and solve a system of equations that models this problem. Show all your work!

Mr. Sanchez's class sold fruit pies, and Mr. Kelly's class sold bottles of fruit juice.