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