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