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