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