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