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