Sam is in charge of setting up rooms for parties at a hotel. On Saturday, there are two parties, one with 536 people and one with 544 people. Each table seats 8 people. How many total tables does he need for the two parties?