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