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