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