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