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