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