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