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