Patrick and Mary have a joint account. Their balance at the beginning of June was 7,144.66. During the month they made deposits totaling 1,566.88, wrote checks totaling 3,200.21, paid a maintenance fee of $10, and earned $14.5 in interest on the account. What was the balance at the end of the month?