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