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