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