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