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