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