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