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