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