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