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