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