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