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