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