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