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