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