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