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