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