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