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