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