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