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