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