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