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