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