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