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