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