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