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