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