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