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