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