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