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