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