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