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