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