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