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