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