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