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