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