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