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