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