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