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