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