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