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