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