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