Ms. Bloom received 2 1/7 bags of chocolate for Valentine's from her class and 5/7 of a bag of chocolates from a few students from last year's class. She shared 1 2/7 with other teachers and took the rest of the chocolate home. How many bags of chocolate did she take home?