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