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