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