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