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