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