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