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