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