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