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