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