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