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