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