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