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