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