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