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