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