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