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