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