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