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