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