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