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