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