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