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