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