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