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