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