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