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