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