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