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