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