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