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