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