There are 7 baskets on the table. Each basket has 18, 7, 17, 12, 8, 5 and 6 apples. Liam chose first, Emma chose second, Noah chose sixth, John chose fourth, Olivia chose third, Matt chose fifth, and Sean chose seventh. How many apples did Matt and John choose in total?