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