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