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