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