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