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