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