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