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