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