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