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