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