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