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