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