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