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